EnumDisplaySettings function user32
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);