The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
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.
Windows Phone 8: This API is supported.
Requirements
|
Minimum supported client | Windows Vista [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server | Windows Server 2008 [desktop apps | Windows Store apps] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 12/4/2012