IConsole::GetMainWindow
[This is preliminary documentation and subject to change.]
Returns a handle to the main frame window.
HRESULT GetMainWindow(
HWND * phwnd // Pointer to the handle of the main frame window.
);
Parameter
-
phwnd
-
[out] Address of a variable that receives the window handle.
Return Values
-
S_OK
-
The handle was successfully returned.
-
E_UNEXPECTED
-
An unexpected error occurred.
-
E_INVALIDARG
-
The parameter is invalid. This may indicate a NULL pointer.
See Also
IConsole