Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
[out] pKeyboardHandle
A pointer to a handle that receives the handle of the keyboard device. This is a handle to an I8042prt keyboard driver.
[out] pMouseHandle
A pointer to a handle that receives the handle of the mouse device. This is a handle to a Mouclass driver.
[out] pBeepHandle
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
| Requirement | Value |
|---|---|
| Minimum supported client | None supported |
| Minimum supported server | Windows Server 2012 |
| Target Platform | Windows |
| Header | wtsprotocol.h |