IWTSProtocolConnectionCallback::BrokenConnection method

[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(
  ULONG Reason,
  ULONG Source
);

Parameters

Reason

This parameter is not used.

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

   
Windows version None supported Windows Server 2008 R2
Target Platform Windows
Header wtsprotocol.h

See Also

IWTSProtocolConnectionCallback