traceevent (advapi32)
Last changed: anonymous

.
Summary
Used in ETW tracing to send and event to log.

C# Signature:

[DllImport("advapi32.dll", SetLastError=true)]
public static extern uint TraceEvent(Int64 traceHandle, ref ADMIN_EVENT_ETW_HEADER evnt);

VB Signature:

Declare Function TraceEvent Lib "advapi32.dll" (TODO) As TODO

User-Defined Types:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

None.

Tips & Tricks:

Make sure that you call RegisterTraceGuids first to get your traceHandle.

Sample Code:

Please add some!

Documentation
TraceEvent on MSDN