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.

OnWindowClose event

Called when a sharable top-level window is closed.

Syntax


void OnWindowClose(
  [in] IDispatch *pWindow
);

Parameters

pWindow [in]

The sharable top-level window that closed. Query the IDispatch interface for the IRDPSRAPIWindow interface that you use to retrieve information about the window.

Return value

This event does not return a value.

Remarks

If this is the last window corresponding to the application, then this event is immediately followed by the OnApplicationClose event.

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