UMDEtwUnregister function (umdprovider.h)
Unregisters the event trace provider. Call this function before the user-mode driver is unloaded. After this function is called, the driver should not make any other calls to log events.
Syntax
void UMDEtwUnregister();
Return value
None
Remarks
UMDEtwUnregister is defined inline in Umdprovider.h as:
// Registration handle, returned by EventRegister and passed to EventUnregister
__declspec(selectany) REGHANDLE RegHandle = NULL;
FORCEINLINE void UMDEtwUnregister()
{
EventUnregister(RegHandle);
}
The EventUnregister function is described in the Windows Events documentation.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 |
Minimum supported server | Windows Server 2012 |
Target Platform | Desktop |
Header | umdprovider.h (include Umdprovider.h) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for