IDebugClient::GetInputCallbacks method

The GetInputCallbacks method returns the input callbacks object registered with this client.

Syntax


HRESULT GetInputCallbacks(
  [out] PDEBUG_INPUT_CALLBACKS *Callbacks
);

Parameters

Callbacks [out]

Receives an interface pointer for the IDebugInputCallbacks object registered with the client.

Return value

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

Return codeDescription
S_OK

The method was successful.

 

Remarks

Each client can have at most one IDebugInputCallbacks object registered with it to receive requests for input.

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

The IDebugInputCallbacks interface extends the COM interface IUnknown. Before returning the IDebugInputCallbacks 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
IDebugInputCallbacks
SetInputCallbacks

 

 

Send comments about this topic to Microsoft

Show: