Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the handle to a window that can act as the owner of a pop-up window that the scripting engine must display.
Syntax
HRESULT GetWindow(
HWND *phwnd // address of variable for window handle
);
Parameters
phwnd
[out] Address of a variable that receives the window handle.
Return Value
Returns S_OK
if successful, or E_FAIL
if an error occurred.
Remarks
This method is similar to the IOleWindow::GetWindow
method.