GetScaleFactorForMonitor function Null safety shcore

int GetScaleFactorForMonitor(
  1. int hMon,
  2. Pointer<Uint32> pScale
)

Gets the scale factor of a specific monitor.

HRESULT GetScaleFactorForMonitor(
  HMONITOR            hMon,
  DEVICE_SCALE_FACTOR *pScale
);

Implementation

int GetScaleFactorForMonitor(int hMon, Pointer<Uint32> pScale) =>
    _GetScaleFactorForMonitor(hMon, pScale);