EnumDisplaySettings function user32

int EnumDisplaySettings(
  1. Pointer<Utf16> lpszDeviceName,
  2. int iModeNum,
  3. Pointer<DEVMODE> lpDevMode
)

The EnumDisplaySettings function retrieves information about one of the graphics modes for a display device. To retrieve information for all the graphics modes of a display device, make a series of calls to this function.

BOOL EnumDisplaySettingsW(
  [in]  LPCWSTR  lpszDeviceName,
  [in]  DWORD    iModeNum,
  [out] DEVMODEW *lpDevMode
);

Implementation

int EnumDisplaySettings(Pointer<Utf16> lpszDeviceName, int iModeNum,
        Pointer<DEVMODE> lpDevMode) =>
    _EnumDisplaySettings(lpszDeviceName, iModeNum, lpDevMode);