EventUnregister function
Removes the provider's registration. You must call this function before your process exits.
Syntax
ULONG EventUnregister( _In_ REGHANDLE RegHandle );
Parameters
- RegHandle [in]
-
Registration handle returned by EventRegister.
Return value
Returns ERROR_SUCCESS if successful.
Remarks
For private sessions, you must stop the trace (call the ControlTrace function with the ControlCode parameter set to EVENT_TRACE_CONTROL_STOP) before calling this function.
Requirements
|
Minimum supported client |
Windows Vista [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps | Windows Store apps] |
|
Minimum supported phone |
Windows Phone 8 |
|
Header |
|
|
Library |
|
|
DLL |
|
See also