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 |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for