Partager via


DisableTracing Function

Disables tracing in the Concurrency Runtime. This function is deprecated because ETW tracing is unregistered by default.

__declspec(
   deprecated("Concurrency::DisableTracing is a deprecated function.")
) _CRTIMP HRESULT __cdecl DisableTracing();

Return Value

If tracing was correctly disabled, S_OK is returned. If tracing was not previously initiated, E_NOT_STARTED is returned

Requirements

Header: concrt.h

Namespace: concurrency

See Also

Reference

concurrency Namespace