ICodeInstall::GetWindow

Displays a user interface (UI) message to verify downloaded code. When a client is called with this method, the message queue can be cleared before allowing the UI to be displayed.

HRESULT GetWindow(
  HWND * phwnd  //Handle for the parent window that displays code 
                // verification
);
 

Parameters

phwnd
[out] Handle provided by the client for the parent window that displays code verification. If this parameter is NULL, the desktop window is used. If the value is INVALID_HANDLE_VALUE or if the return value is S_FALSE, no code verification UI will be displayed and certain necessary components may not be installed.

Return Values

S_OK
The function was successful.
S_FALSE
No window is available.
E_INVALIDARG
The argument is incorrect.

QuickInfo

  Windows NT: Use version 5.0 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in urlmon.h.

See Also

ICodeInstall::OnCodeInstallProblem