[DllImport("Advapi32.dll", SetLastError = true)][return: MarshalAs(UnmanagedType.U4)] public static extern uint TraceEvent( [In] TRACEHANDLE SessionHandle, [In] ref EVENT_TRACE_HEADER EventTrace );
Microsoft documentation: Link
Last updated 1 year ago