@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: The RegisterTraceGuids function registers an event trace provider and the event trace classes that it uses to generate events. This function also specifies the function the provider uses to enable and disable tracing. !!!!C# Signature: [DllImport("advapi32", EntryPoint = "RegisterTraceGuidsW", CharSet = CharSet.Unicode, ExactSpelling = true)] static extern unsafe uint RegisterTraceGuids([In] EtwProc cbFunc, [In] void* context, [In] ref Guid controlGuid, [In] uint guidCount, ref TraceGuidRegistration guidReg, [In] string mofImagePath, [In] string mofResourceName, out ulong regHandle); !!!!User-Defined Types: EtwProc (http://windowssdk.msdn.microsoft.com/library/default.asp?url=/library/en-us/etw/etw/controlcallback.asp) delegate uint EtwProc(uint requestCode, IntPtr requestContext, IntPtr bufferSize, byte* buffer); TraceGuidRegistration (http://windowssdk.msdn.microsoft.com/library/default.asp?url=/library/en-us/etw/etw/trace_guid_registration.asp) [StructLayout(LayoutKind.Sequential)] internal struct TraceGuidRegistration { internal unsafe System.Guid* Guid; internal unsafe void* RegHandle; } !!!!Notes: None. !!!!Tips & Tricks: Please add some! !!!!Sample Code: http://windowssdk.msdn.microsoft.com/library/en-us/etw/etw/registering_an_event_trace_provider.asp Documentation: RegisterTraceGuids @msdn on MSDN
Edit advapi32.Register...
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.