Called when an application closes.
Syntax
void OnApplicationClose(
[in] IDispatch *pApplication
);
Parameters
-
pApplication [in]
-
The application that was closed. Query the IDispatch interface for the IRDPSRAPIApplication interface that you use to retrieve information about the application.
Return value
This event does not return a value.
Remarks
An Application object is considered destroyed when its last sharable top-level window is destroyed. Note that this event is sent after the OnWindowClose event is sent.
Requirements
| Minimum supported client |
Windows Vista [desktop apps | UWP apps] |
| Minimum supported server |
Windows Server 2008 [desktop apps | UWP apps] |
| Header |
|
| IDL |
|
| Type library |
|
| DLL |
|