IDebugClient5::SetInputCallbacks method (dbgeng.h)

The SetInputCallbacks method registers an input callbacks object with the client.

Syntax

HRESULT SetInputCallbacks(
  [in, optional] PDEBUG_INPUT_CALLBACKS Callbacks
);

Parameters

[in, optional] Callbacks

Specifies the interface pointer to the input 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 IDebugInputCallbacks object registered with it to receive requests for input.

The IDebugInputCallbacks interface extends the COM interface IUnknown. SetInputCallbacks will call the IUnknown::AddRef method of the object specified by Callbacks. The IUnknown::Release method of this interface will be called the next time SetInputCallbacks is called on this client, or when this client is deleted.

Requirements

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

See also

GetInputCallbacks

IDebugClient

IDebugClient2

IDebugClient3

IDebugClient4

IDebugClient5

IDebugInputCallbacks