IWRdsProtocolConnection::GetVideoHandle method (wtsprotocol.h)
Obtains the handle of the video device for the protocol.
Syntax
HRESULT GetVideoHandle(
[out] HANDLE_PTR *pVideoHandle
);
Parameters
[out] pVideoHandle
A pointer to a handle that receives the handle of the video device.
If the protocol object is using the IWRdsRemoteFXGraphicsConnection interface, this method should set the contents of pVideoHandle to NULL and return E_NOTIMPL.
If the protocol is not using the IWRdsRemoteFXGraphicsConnection interface, this method should return a handle to the video miniport driver for the remote session associated with the protocol.
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 |