GetDeviceCaps function gdi32
Retrieves device-specific information for the specified device.
To learn more, see learn.microsoft.com/windows/win32/api/wingdi/nf-wingdi-getdevicecaps.
Implementation
@pragma('vm:prefer-inline')
int GetDeviceCaps(HDC? hdc, GET_DEVICE_CAPS_INDEX index) =>
_GetDeviceCaps(hdc ?? nullptr, index);