IRemoteDesktopClientEvents::OnDisconnected method
Called when the client control has been disconnected from a remote session.
Syntax
void OnDisconnected(
[in] long disconnectReason,
[in] long ExtendedDisconnectReason,
[in] BSTR disconnectErrorMessage
);
Parameters
-
disconnectReason [in]
-
The reason for the disconnect event.
-
ExtendedDisconnectReason [in]
-
Extended information for the disconnect event.
-
disconnectErrorMessage [in]
-
The error message for the disconnect event.
Return value
This method does not return a value.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 8 |
Minimum supported server |
Windows Server 2012 |
Type library |
|
DLL |
|
IID |
DIID_IRemoteDesktopClientEvents is defined as 079863B7-6D47-4105-8BFE-0CDCB360E67D |