TraceDeregister

[This is preliminary documentation and subject to change.]

The TraceDeregister function frees resources and closes files associated with tracing registration on behalf the calling service or application. Call TraceDeregister no more than once for a service or application, regardless of how many calls were made on the service or application's behalf.

DWORD TraceDeregister(
  IN DWORD dwTraceID  //handle from initial TraceRegister call
);
 

Parameters

dwTraceID
The handle returned by the calling service or application's initial TraceRegister call.

Return Values

If the function succeeds, the return value is 0.

If the function fails, the return value is an error code. Call GetLastError for further information.

QuickInfo

  Windows NT: Use version 5.0 and later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in rtutils.h.
  Import Library: Link with rtutils.lib.

See Also

TraceDeregisterEx, TraceRegister, TracePrintf, TraceVprintf, TracePuts, TraceDump, GetLastError