The UnregisterTraceGuids function unregisters an event trace provider and its event trace classes.
ULONG UnregisterTraceGuids( _In_ TRACEHANDLE RegistrationHandle );
Handle to the event trace provider, obtained from an earlier call to the RegisterTraceGuids function.
If the function succeeds, the return value is ERROR_SUCCESS.
If the function fails, the return value is one of the system error codes. The following table includes some common errors and their causes.
||The RegistrationHandle parameter does not specify the handle to a registered provider or is NULL.
Providers call this function.
The event trace provider must have been registered previously by calling the RegisterTraceGuids function.
|Minimum supported client
||Windows 2000 Professional [desktop apps | UWP apps]
|Minimum supported server
||Windows 2000 Server [desktop apps | UWP apps]
|Minimum supported phone
||Windows Phone 8.1