RemoveTraceCallback function
[Do not use this function; it may be unavailable in subsequent versions.]
The RemoveTraceCallback function stops an EventClassCallback function from receiving events for an event trace class.
Syntax
ULONG RemoveTraceCallback( _In_ LPCGUID pGuid );
Parameters
- pGuid [in]
-
Pointer to the class GUID of the event trace class for which the callback receives events. Use the same class GUID that you passed to the SetTraceCallback to begin receiving the events.
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 code | Description |
|---|---|
|
The pGuid parameter is NULL. |
|
There is no EventClassCallback function associated with the event trace class. |
Remarks
Consumers call this function.
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also