IWTSProtocolConnectionCallback::BrokenConnection method (wtsprotocol.h)
[IWTSProtocolConnectionCallback::BrokenConnection is no longer available for use as of Windows Server 2012. Instead, use IWRdsProtocolConnectionCallback::BrokenConnection.]
Informs the Remote Desktop Services service that the client connection has been lost.
Syntax
HRESULT BrokenConnection(
[in] ULONG Reason,
[in] ULONG Source
);
Parameters
[in] Reason
This parameter is not used.
[in] Source
This parameter is not used.
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 R2 |
Target Platform | Windows |
Header | wtsprotocol.h |