Debugging Tools for Windows

IDebugOutputCallbacks::Output

The Output callback method is called by the engine to send output from the client to the IDebugOutputCallbacks or IDebugOutputCallbacksWide object that is registered with the client.

HRESULT
  IDebugOutputCallbacks::Output(
    IN ULONG  Mask,
    IN PCSTR  Text
    );

HRESULT
  IDebugOutputCallbacksWide::Output(
    IN ULONG  Mask,
    IN PCWSTR  Text
    );

#ifdef UNICODE
#define IDebugOutputCallbacksT IDebugOutputCallbacksWide
#else
#define IDebugOutputCallbacksT IDebugOutputCallbacks
#endif

Parameters

Mask
Specifies the DEBUG_OUTPUT_XXX bit flags that indicate the nature of the output.
Text
Specifies the output that is being sent.

Return Value

The return value is ignored by the engine unless it indicates a remote procedure call error; in this case the client, with which this IDebugEventCallbacks object is registered, is disabled.

Comments

The engine calls this method only if the supplied value of Mask is allowed by the client's output control.

For more information about debugger engine output, see Input and Output.

Requirements

Headers: Defined in dbgeng.h. Include dbgeng.h.

Build machine: CAPEBUILD