The URL moniker calls this method to obtain an HWND for a window to present information in the user interface during a bind operation.
HRESULT GetWindow(
HWND *
phwnd //Pointer to window handle of parent window for moniker to use
);
Parameter
phwnd
[out] Pointer to a window handle of the parent window to use for displaying user interface information.
Return Values
S_OK
The window handle was successfully returned.
E_INVALIDARG
The phwnd parameter is invalid.
Notes to Implementors
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.
See Also
IAuthenticate, IHttpNegotiate, IWinINetInfo