Microsoft DirectX 9.0 |
The GetRestorePosition method retrieves the position to which the window will be restored when it is not maximized or minimized.
Syntax
HRESULT GetRestorePosition(
long *pLeft,
long *pTop,
long *pWidth,
long *pHeight
);
Parameters
pLeft
Pointer to the value for leftmost coordinate.
pTop
Pointer to the value for top of the window.
pWidth
Pointer to the value for width of the window.
pHeight
Pointer to the value for height of window.
Return Value
Returns an HRESULT value.
Remarks
This is the same as the values returned by the CBaseControlWindow::GetWindowPosition function when the window is neither maximized nor minimized.
See Also