GetProcessDpiAwareness function Null safety shcore

int GetProcessDpiAwareness (
  1. int hprocess,
  2. Pointer<Int32> value
)

Retrieves the dots per inch (dpi) awareness of the specified process.

HRESULT GetProcessDpiAwareness(
  HANDLE                hprocess,
  PROCESS_DPI_AWARENESS *value
);

Implementation

int GetProcessDpiAwareness(int hprocess, Pointer<Int32> value) {
  final _GetProcessDpiAwareness = _shcore.lookupFunction<
      Int32 Function(IntPtr hprocess, Pointer<Int32> value),
      int Function(
          int hprocess, Pointer<Int32> value)>('GetProcessDpiAwareness');
  return _GetProcessDpiAwareness(hprocess, value);
}