IWTSProtocolConnection::GetProtocolHandles method

[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(
  HANDLE_PTR *pKeyboardHandle,
  HANDLE_PTR *pMouseHandle,
  HANDLE_PTR *pBeepHandle,
  HANDLE_PTR *pVideoHandle
);

Parameters

pKeyboardHandle

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

pMouseHandle

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

pBeepHandle

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

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

   
Windows version None supported Windows Server 2008 R2
Target Platform Windows
Header wtsprotocol.h

See Also

IWTSProtocolConnection