Skip to main content

HCTraceSetPlatformCallbacks

Sets the Platform Callbacks.

Syntax

Parameters

threadIdCallback   _In_
Type: HCTracePlatformThisThreadIdCallback*
The thread ID callback. threadIdContext   _In_opt_
Type: void*
The thread ID context. writeToDebuggerCallback   _In_
Type: HCTracePlatformWriteMessageToDebuggerCallback*
The write to debbugger callback. writeToDebuggerContext   _In_opt_
Type: void*
The write to debbugger context.

Return value

Type: HRESULT Result code for this API operation. Possible values are S_OK, or E_HC_NOT_INITIALISED.

Requirements

Header: trace.h Library: libHttpClient.GDK.lib

See also

trace
Last modified on August 4, 2026