DGetScreenPlacement
Purpose Use
screen in Windows space.
Syntax
DWORD DGetScreenPlacement (hdc, wScreenNumber,
Return value
DWORD –
otherwise, operating system error code.
This function returns an error for unattached displays.
Structure This code fragment defines the
typedef struct
DGetScreenPlacement
lpptPoint)
Parameter Type
HDC
UWORD
POINT FAR *
zero (0) if function completed successfully;
{
LONG x;
LONG y;
} POINT;
to return the x,y position of the
Name
hdc
wScreenNumber
ptPoint
POINT
DGetScreenPlacement | 31
Description
Handle to the display-
device context.
Target screen number
(zero-based).
Pointer to a Windows
structure.
POINT
It is filled in with the
placement of the screen.
structure.