PFHCTraceSetPlatformCallbacks

Sets the Platform Callbacks.

Syntax

HRESULT PFHCTraceSetPlatformCallbacks(  
    PFHCTracePlatformThisThreadIdCallback* threadIdCallback,  
    void* threadIdContext,  
    PFHCTracePlatformWriteMessageToDebuggerCallback* writeToDebuggerCallback,  
    void* writeToDebuggerContext  
)  

Parameters

threadIdCallback   PFHCTracePlatformThisThreadIdCallback*

The thread ID callback.

threadIdContext   void*
optional

The thread ID context.

writeToDebuggerCallback   PFHCTracePlatformWriteMessageToDebuggerCallback*

The write to debbugger callback.

writeToDebuggerContext   void*
optional

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: PFHCTrace.h

See also

PFHCTrace members