CDC::GetDeviceCaps

 

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

Syntax

      int GetDeviceCaps(
   int nIndex 
) const;

Parameters

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

Return Value

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

Example

See the example for CPrintDialog::GetDefaults.

Requirements

Header: afxwin.h

See Also

CDC Class
Hierarchy Chart
Escape