Microsoft DirectX 8.1 (C++) |
The GetWindowPosition method retrieves the current coordinates for the window.
Syntax
HRESULT GetWindowPosition(
long *pLeft,
long *pTop,
long *pWidth,
long *pHeight
);
Parameters
pLeft
Pointer to the left coordinate, in screen coordinates.
pTop
Pointer to the top coordinate, in screen coordinates.
pWidth
Pointer to the window width, in screen coordinates.
pHeight
Pointer to the window height, in screen coordinates.
Return Value
Returns an HRESULT value.
See Also