CDC::GetDeviceCaps

This member function retrieves a wide range of device-specific information about the display device.

Syntax

int GetDeviceCaps ( int nIndex ) const;

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

Remarks

Windows CE 1.0 does not support the following values for the nIndex parameter:

BLTALIGNMENT

DESKTOPHORZRES

DESKTOPVERTRES

PHYSICALHEIGHT

PHYSICALOFFSETX

PHYSICALOFFSETY

PHYSICALWIDTH

VREFRESH

See Also

CDC Overview, CDC Member Functions, Graphical Drawing Classes