IWRdsProtocolConnection::GetInputHandles method

Obtains the handles to input/output devices for the protocol.

Syntax


HRESULT GetInputHandles(
  [out] HANDLE_PTR *pKeyboardHandle,
  [out] HANDLE_PTR *pMouseHandle,
  [out] HANDLE_PTR *pBeepHandle
);

Parameters

pKeyboardHandle [out]

A pointer to a handle that receives the handle of the keyboard device. This is a handle to an I8042prt keyboard driver.

pMouseHandle [out]

A pointer to a handle that receives the handle of the mouse device. This is a handle to a Mouclass driver.

pBeepHandle [out]

A pointer to a handle that receives the handle of the beep or sound device. This handle is not used and must be set to NULL.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2012

IDL

Wtsprotocol.idl

See also

IWRdsProtocolConnection

 

 

Show: