# 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.

See Also

ICodeInstall::OnCodeInstallProblem