Retrieves the handle to a window that can act as the owner of a pop-up window that the scripting engine must display.
HRESULT GetWindow( HWND *phwnd // address of variable for window handle );
- phwnd
[out] Address of a variable that receives the window handle.
Returns S_OK if successful, or E_FAIL if an error occurred.
This method is similar to the IOleWindow::GetWindow method.