IDebugClient5::SetOutputCallbacksWide method (dbgeng.h)

The SetOutputCallbacksWide method registers an output callbacks object with this client.

Syntax

HRESULT SetOutputCallbacksWide(
  [in] PDEBUG_OUTPUT_CALLBACKS_WIDE Callbacks
);

Parameters

[in] Callbacks

Specifies the interface pointer to the output callbacks object to register with this client.

Return value

This method may also return error values. See Return Values for more details.

Return code Description
S_OK
The method was successful.

Remarks

Each client can have at most one IDebugOutputCallbacks or IDebugOutputCallbacksWide object registered with it for output.

The IDebugOutputCallbacksWide interface extends the COM interface IUnknown. SetOutputCallbacks and SetOutputCAllbacksWide call the IUnknown::AddRef method in the object specified by Callbacks. The IUnknown::Release method of this interface will be called the next time SetOutputCallbacks or SetOutputCallbacksWide is called on this client, or when this client is deleted.

For more information about callbacks, see Callbacks.

Requirements

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

See also

GetOutputCallbacks

IDebugClient5

IDebugOutputCallbacks