IRDPSRAPIWindow::Application property

Returns a pointer to the application object that the window belongs to. All the window objects are parented to applications. This method provides easy access to the parent of the window.

This property is read-only.

Syntax


HRESULT get_Application(
  [out] IRDPSRAPIApplication **pApplication
);

Property value

An IRDPSRAPIApplication interface pointer.

Error codes

If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.

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

IRDPSRAPIWindow

 

 

Show: