IRDPSRAPITransportStreamEvents::OnStreamClosed method (rdpencomapi.h)

Notifies the Remote Desktop Protocol (RDP) stack that the connection was closed.

Syntax

void OnStreamClosed(
  [in] HRESULT hrReason
);

Parameters

[in] hrReason

Type: HRESULT

An HRESULT value that specifies if the stream was closed normally or due to an error. Contains S_OK if the stream was closed normally or an error code otherwise.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows 7
Minimum supported server Windows Server 2008 R2
Target Platform Windows
Header rdpencomapi.h
DLL RdpEncom.dll

See also

IRDPSRAPITransportStreamEvents