DGetNumScreens | 27
DGetNumScreens
Purpose Use
DGetNumScreens
to return the number of screens
controlled by the DOME Windows driver.
Syntax
DWORD DGetNumScreens (hdc, lpwNumScreens)
Return value
DWORD –
zero (0) if function completed successfully;
otherwise, operating system error code.
Example This example returns the number of screens controlled by
DOME Windows drivers.
#include <mdpcint.h>
{
HDC
hdc;
UWORD
wNumScreens;
DWORD
dwRetCode;
dwRetCode = DGetNumScreens (hdc,
&wNumScreens);
return dwRetCode;
}
See also
DGetScreenDimensions, DGetScreenPlacement,
DGetRefreshRate, DGetRefreshRateMM
Parameter Type
Name
Description
HDC
hdc
Handle to the display-
device context.
UWORD FAR *
wNumScreens
Pointer to
UWORD.
It is
filled in with the number of
screens controlled by the
DOME Windows driver.
Содержание Dome DX/PCI
Страница 6: ......