IWRdsProtocolConnectionCallback::StopScreenUpdates method (wtsprotocol.h)

Requests that the Remote Desktop Services service stop updating the client screen.

Syntax

HRESULT StopScreenUpdates();

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 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 2012
Target Platform Windows
Header wtsprotocol.h

See also

IWRdsProtocolConnectionCallback