Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

OnError event

Called when a critical error occurs in the session.

Syntax


void OnError(
  [in] VARIANT ErrorInfo
);

Parameters

ErrorInfo [in]

An HRESULT value of the critical error that occurred. The variant type is VT_I4 and the lVal member of the VARIANT contains the HRESULT value.

Return value

This event does not return a value.

Remarks

If you receive this notification, you should consider the session terminated and should destroy the RDPSession object.

Requirements

Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

RdpEncomAPI.h

IDL

RdpEncomAPI.idl

Type library

RdpEncomAPI.tlb

DLL

RdpEncom.dll

See also

_IRDPSessionEvents

 

 

Show:
© 2017 Microsoft