OnApplicationOpen event

Called when a new application is created.

Syntax

void OnApplicationOpen(
  [in] IDispatch *pApplication
);

Parameters

pApplication [in]

The application that was created. 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

You should process this event and update your user interface accordingly. Note that this event is always followed by a OnWindowOpen event.

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