IDebugOutputCallbacks2::Output2 method (dbgeng.h)

Returns notifications for the IDebugOutputCallbacks2 interface.

Syntax

HRESULT Output2(
  [in]           ULONG   Which,
  [in]           ULONG   Flags,
  [in]           ULONG64 Arg,
  [in, optional] PCWSTR  Text
);

Parameters

[in] Which

The kind of DEBUG_OUTCB_XXX notification that is coming in. The DEBUG_OUTCB_XXX notifications are defined in the dbgeng.h header using #defines. For more information, see DEBUG_OUTCB_XXX.

[in] Flags

Flags that are part of the notification payload.

[in] Arg

Arguments that are part of the notification payload.

[in, optional] Text

A pointer to text that is part of the notification payload.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Target Platform Windows
Header dbgeng.h (include Dbgeng.h)

See also

IDebugOutputCallbacks2