Skip to content

SetTraceEnabled

Enables or disables tracing.

HRESULT SetTraceEnabled(VARIANT_BOOL val);

val

[in] VARIANT_TRUE to enable tracing, VARIANT_FALSE to disable tracing.

Returns S_OK if successful, otherwise a failure HRESULT.