EnumDisplayMonitors method

int EnumDisplayMonitors(
  1. Pointer<HDC__> hdc,
  2. Pointer<LPRECT> lprcClip,
  3. Pointer<NativeFunction<MONITORENUMPROC>> lpfnEnum,
  4. int dwData,
)

Implementation

int EnumDisplayMonitors(
  ffi.Pointer<HDC__> hdc,
  ffi.Pointer<LPRECT> lprcClip,
  ffi.Pointer<ffi.NativeFunction<MONITORENUMPROC>> lpfnEnum,
  int dwData,
) {
  return (_EnumDisplayMonitors ??= _dylib.lookupFunction<
      _c_EnumDisplayMonitors,
      _dart_EnumDisplayMonitors>('EnumDisplayMonitors'))(
    hdc,
    lprcClip,
    lpfnEnum,
    dwData,
  );
}