IWRdsProtocolConnectionCallback::BrokenConnection method (wtsprotocol.h)

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

See also

IWRdsProtocolConnectionCallback