IWTSProtocolConnectionCallback::DisplayIOCtl method (wtsprotocol.h)
[IWTSProtocolConnectionCallback::DisplayIOCtl is no longer available for use as of Windows Server 2012.]
Requests that the Remote Desktop Services service send data to the display driver loaded in the session.
Syntax
HRESULT DisplayIOCtl(
[in, optional] WTS_DISPLAY_IOCTL *DisplayIOCtl
);
Parameters
[in, optional] DisplayIOCtl
A WTS_DISPLAY_IOCTL structure that contains data to be sent to the display driver loaded in the session.
Return value
If the function succeeds, the function returns S_OK.
If the function fails, it returns an HRESULT value that indicates the error. Possible values include, but are not limited to, those in the following list. For a list of common error codes, see Common HRESULT Values.
Remarks
To avoid deadlocks when calling this method:
- Create a separate thread on which to make the call. Do not make the call from inside of any protocol method that you are implementing.
- Do not block on this method before replying to another call by the Remote Desktop Services service.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 R2 |
Target Platform | Windows |
Header | wtsprotocol.h |