Windows apps
Collapse the table of content
Expand the table of content
Information
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.

UnregisterTraceGuids function

The UnregisterTraceGuids function unregisters an event trace provider and its event trace classes.

Syntax


ULONG UnregisterTraceGuids(
  _In_ TRACEHANDLE RegistrationHandle
);

Parameters

RegistrationHandle [in]

Handle to the event trace provider, obtained from an earlier call to the RegisterTraceGuids function.

Return value

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.

Return codeDescription
ERROR_INVALID_PARAMETER

The RegistrationHandle parameter does not specify the handle to a registered provider or is NULL.

 

Remarks

Providers call this function.

The event trace provider must have been registered previously by calling the RegisterTraceGuids function.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1

Header

Evntrace.h

Library

Advapi32.lib

DLL

Advapi32.dll

See also

RegisterTraceGuids

 

 

Show:
© 2016 Microsoft