Debugging Tools for Windows

SetInputCallbacks

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

HRESULT
  IDebugClient::SetInputCallbacks(
    IN IDebugInputCallbacks *  Callbacks
    );

Parameters

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

Return Value

S_OK
The method was successful.

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

Interface Version

SetInputCallbacks is available in all versions of IDebugClient.

Comments

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

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

See Also

IDebugInputCallbacks, GetInputCallbacks

Build machine: CAPEBUILD