IWTSProtocolConnection::GetProtocolHandles method (wtsprotocol.h)

[IWTSProtocolConnection::GetProtocolHandles is no longer available for use as of Windows Server 2012. Instead, use IWRdsProtocolConnection::GetInputHandles and IWRdsProtocolConnection::GetVideoHandle.]

Retrieves keyboard, mouse, sound, and beep handles supported by the protocol.

Syntax

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

Parameters

[out] pKeyboardHandle

A pointer to a keyboard handle. This is a handle to an I8042prt keyboard driver.

[out] pMouseHandle

A pointer to a mouse handle. This is a handle to a Mouclass driver.

[out] pBeepHandle

A pointer to a beep device handle. This handle is not used and must be set to NULL.

[out] pVideoHandle

A pointer to a video device handle. This is a handle to the video miniport driver for the remote session associated with the protocol.

Return value

None

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 R2
Target Platform Windows
Header wtsprotocol.h

See also

IWTSProtocolConnection