IMsRdpClientNonScriptable2::UIParentWindowHandle property

Sets or retrieves the window handle to be the parent window for any dialog boxes displayed by the control. This allows any windows displayed by the control to be properly modal with respect to any windows displayed by the parent application.

This property is read/write.

Syntax

HRESULT put_UIParentWindowHandle(
  [in]  HWND hwndUIParentWindowHandle
);

HRESULT get_UIParentWindowHandle(
  [out] HWND *phwndUIParentWindowHandle
);

Property value

The new window handle.

Error codes

Returns S_OK if successful.

Remarks

For more information about Remote Desktop Web Connection, see Requirements for Remote Desktop Web Connection.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008, Windows Server 2008 with SP1
Type library
MsTscAx.dll
DLL
MsTscAx.dll
IID
IID_IMsRdpClientNonScriptable2 is defined as 17a5e535-4072-4fa4-af32-c8d0d47345e9

See also

IMsRdpClientNonScriptable3

IMsRdpClientNonScriptable4

IMsRdpClientNonScriptable5

OnAuthenticationWarningDisplayed

OnAuthenticationWarningDismissed

IMsRdpClientNonScriptable2