OnWindowOpen event

Called when a sharable top-level window is created by an application.

Syntax

void OnWindowOpen(
  [in] IDispatch *pWindow
);

Parameters

pWindow [in]

The sharable top-level window that was created. 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 first window object associated with the application, then this event immediately follows the OnApplicationOpen event for the application.

Requirements

Minimum supported client
Windows Vista [desktop apps | UWP apps]
Minimum supported server
Windows Server 2008 [desktop apps | UWP apps]
Header
RdpEncomAPI.h
IDL
RdpEncomAPI.idl
Type library
RdpEncomAPI.tlb
DLL
RdpEncom.dll

See also

_IRDPSessionEvents