IDebugClient5::GetOutputCallbacks method

The GetOutputCallbacks method returns the output callbacks object registered with the client.

Syntax

HRESULT GetOutputCallbacks(
  PDEBUG_OUTPUT_CALLBACKS *Callbacks
);

Parameters

Callbacks

Receives an interface pointer to the IDebugOutputCallbacks object registered with the 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.

If no output callbacks object is registered with the client, the value of Callbacks will be set to NULL.

The IDebugOutputCallbacks interface extends the COM interface IUnknown. Before returning the IDebugOutputCallbacks object specified by Callbacks, the engine calls its IUnknown::AddRef method. When this object is no longer needed, its IUnknown::Release method should be called.

For more information about callbacks, see Callbacks.

Requirements

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

See Also

IDebugClient

IDebugClient2

IDebugClient3

IDebugClient4

IDebugClient5

IDebugOutputCallbacks

SetOutputCallbacks