Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Callback invoked for each error captured by XtfCaptureOutputBegin.
Syntax
void XtfDebugStringErrorCallback(
         HRESULT errorId,
         PCWSTR errorMessage,
         PVOID context
)  
Parameters
errorId
Type: HRESULT
[in] The error that occurred.
errorMessage
Type: PCWSTR
[in] The error message for that error.
context
Type: PVOID
[in, optional] A pointer to a context object, passed into XtfCaptureOutputBegin.
Return value
None.
Remarks
This callback is invoked by the XtfCaptureOutputBegin function for each error captured during a capture session. Use this callback function, along with an XtfDebugStringCallback callback function, to capture general debug output from a development console. If you want to monitor debug output from a specific process ID on a development console, use a debug monitor client. For more information about using a debug monitor client, see XtfCreateDebugMonitorClient.
Requirements
Header: xtfapi.h
Library: XtfApi.lib
Supported platforms: Windows (for Xbox console tools)
See also
XTF Transport Errors (NDA topic)Authorization required
Additional Xtf APIs