Udostępnij za pośrednictwem


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

Reference

CDC Class

Hierarchy Chart

Escape

Other Resources

CDC Members