IWTSProtocolConnectionCallback::OnReady method (wtsprotocol.h)
[IWTSProtocolConnectionCallback::OnReady is no longer available for use as of Windows Server 2012. Instead, use IWRdsProtocolConnectionCallback::OnReady.]
Requests that the Remote Desktop Services service continue the connection process for that client.
Syntax
HRESULT OnReady();
Return value
If the function succeeds, the function returns S_OK.
If the function fails, it returns an HRESULT value that indicates the error. For a list of common error codes, see Common HRESULT Values.
Remarks
The protocol must call this method after the Remote Desktop Services service calls SendPolicyData. The Remote Desktop Services service will not call AcceptConnection to continue the connection process until OnReady has been called.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 R2 |
Target Platform | Windows |
Header | wtsprotocol.h |