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 |
|
|
IDL |
|
|
Type library |
|
|
DLL |
|
See also