IWindowForBindingUI::GetWindow (Windows CE 5.0)
This method retrieves a handle to a window to present information in the user interface during a bind operation.
HRESULT GetWindow(REFGUIDrguidReason,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 Values
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
OS Versions: Windows CE .NET 4.0 and later.
Header: Urlmon.h, Urlmon.idl.
Link Library: Urlmon.lib.
Send Feedback on this topic to the authors