Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content


Retrieves a wide range of device-specific information about the display device.

int GetDeviceCaps( 
   int nIndex  
) const;


Specifies the type of information to return. See GetDeviceCaps in the Windows SDK for a list of values.

The value of the requested capability if the function is successful.

Header: afxwin.h

© 2015 Microsoft