EnumDisplaySettingsExW method

int EnumDisplaySettingsExW(
  1. Pointer<Uint16> lpszDeviceName,
  2. int iModeNum,
  3. Pointer<LPDEVMODEW> lpDevMode,
  4. int dwFlags,
)

Implementation

int EnumDisplaySettingsExW(
  ffi.Pointer<ffi.Uint16> lpszDeviceName,
  int iModeNum,
  ffi.Pointer<LPDEVMODEW> lpDevMode,
  int dwFlags,
) {
  return (_EnumDisplaySettingsExW ??= _dylib.lookupFunction<
      _c_EnumDisplaySettingsExW,
      _dart_EnumDisplaySettingsExW>('EnumDisplaySettingsExW'))(
    lpszDeviceName,
    iModeNum,
    lpDevMode,
    dwFlags,
  );
}