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.

OnApplicationClose event

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 | 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