Share via


IWindowForBindingUI::GetWindow (Windows Embedded CE 6.0)

1/6/2010

This method retrieves a handle to a window to present information in the user interface during a bind operation.

Syntax

HRESULT GetWindow(
  REFGUID rguidReason,
  HWND* phwnd
);

Parameters

  • rguidReason
    [in] Identifier that indicates the reason for the user interface. This can be either IID_IAuthenticate or IID_IHttpSecurity.
  • phwnd
    [out] Address of a window handle to the parent window to use for displaying user interface information.

Return Value

Returns S_OK if the window handle was successfully returned or E_INVALIDARG if the phwnd parameter is invalid.

Remarks

If you implement this interface, you can return S_FALSE for this method to indicate that no window is available for displaying user interface information.

Requirements

Header urlmon.h, urlmon.idl
Library urlmon.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IWindowForBindingUI