IRDPSRAPITransportStreamEvents::OnStreamClosed method

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

Syntax


void OnStreamClosed(
  [in] HRESULT hrReason
);

Parameters

hrReason [in]

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

This method does not return a value.

Requirements

Minimum supported client

Windows 7

Minimum supported server

Windows Server 2008 R2

Header

RdpEncomAPI.h

IDL

RdpEncomAPI.idl

Type library

RdpEncomAPI.tlb

DLL

RdpEncom.dll

CLSID

CLSID_RDPTransportStreamEvents is defined as 31E3AB20-5350-483f-9DC6-6748665EFDEB

IID

IID_IRDPSRAPITransportStreamEvents is defined as ea81c254-f5af-4e40-982e-3e63bb595276

See also

IRDPSRAPITransportStreamEvents

 

 

Show: