Compartir a través de


CDC::GetDeviceCaps

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

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

Concepts

CDC Class

CDC Members

Hierarchy Chart

Escape