GetDeviceCaps function gdi32

int GetDeviceCaps(
  1. HDC? hdc,
  2. GET_DEVICE_CAPS_INDEX index
)

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);