次の方法で共有


EnableTracing Function

Enables tracing in the Concurrency Runtime. This function is deprecated because ETW tracing is now on by default.

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

Return Value

If tracing was correctly initiated, S_OK is returned; otherwise, E_NOT_STARTED is returned.

Requirements

Header: concrt.h

Namespace: concurrency

See Also

Reference

concurrency Namespace