HCTraceSetPlatformCallbacks

Sets the Platform Callbacks.

Syntax

HRESULT HCTraceSetPlatformCallbacks(  
         HCTracePlatformThisThreadIdCallback* threadIdCallback,  
         void* threadIdContext,  
         HCTracePlatformWriteMessageToDebuggerCallback* writeToDebuggerCallback,  
         void* writeToDebuggerContext  
)  

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.141.GSDK.C.lib

See also

trace