Delen via


IWindowForBindingUI::GetWindow method

Gets a handle to a window to present information in the user interface during a bind operation.

Syntax

HRESULT GetWindow(
  [in]  REFGUID rguidReason,
  [out] HWND    *phwnd
);

Parameters

  • rguidReason [in]
    An identifier that indicates the reason for the user interface. This can be either IID_IAuthenticate or IID_IHttpSecurity.

  • phwnd [out]
    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 to display user interface information.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Product

Internet Explorer 4.0

DLL

Urlmon.dll

See also

IWindowForBindingUI

Reference

IAuthenticate

IWinInetInfo