GetDeviceCaps
E724266
GetDeviceCaps is a Windows GDI function that retrieves device-specific information about a given device context, such as resolution, color capabilities, and physical dimensions.
Statements (53)
| Predicate | Object |
|---|---|
| instanceOf |
GDI function
ⓘ
Windows API function ⓘ |
| callingConvention | stdcall ⓘ |
| canReturn |
bits per pixel
ⓘ
clipping capabilities ⓘ color planes ⓘ curve capabilities ⓘ device-specific limits ⓘ horizontal resolution in pixels ⓘ horizontal size in millimeters ⓘ line capabilities ⓘ logical pixels per inch horizontally ⓘ logical pixels per inch vertically ⓘ number of brushes supported ⓘ number of colors supported ⓘ number of fonts supported ⓘ number of pens supported ⓘ polygonal capabilities ⓘ shading and raster capabilities ⓘ technology type of device ⓘ text capabilities ⓘ vertical resolution in pixels ⓘ vertical size in millimeters ⓘ |
| definedIn | wingdi.h ⓘ |
| exportedBy | gdi32.dll ⓘ |
| indexParameterUses |
BITSPIXEL
ⓘ
HORZRES ⓘ HORZSIZE ⓘ LOGPIXELSX ⓘ LOGPIXELSY ⓘ PLANES ⓘ VERTRES ⓘ VERTSIZE ⓘ predefined constants ⓘ |
| introducedFor | retrieving device-specific information ⓘ |
| languageBinding | C ⓘ |
| partOf |
Win32 API
NERFINISHED
ⓘ
Windows GDI NERFINISHED ⓘ |
| platform |
Windows
ⓘ
surface form:
Microsoft Windows
|
| relatedFunction |
CreateCompatibleDC
ⓘ
CreateDC NERFINISHED ⓘ GetDeviceGammaRamp NERFINISHED ⓘ GetSystemMetrics ⓘ |
| returns | int ⓘ |
| takesParameter |
HDC
ⓘ
int index ⓘ |
| threadSafety | depends on device context usage ⓘ |
| usedFor |
layout and rendering decisions
ⓘ
querying device context capabilities ⓘ retrieving color capabilities ⓘ retrieving display resolution ⓘ retrieving physical dimensions of devices ⓘ retrieving printer resolution ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.