SetDisplayConfig method

int SetDisplayConfig(
  1. int numPathArrayElements,
  2. Pointer<DISPLAYCONFIG_PATH_INFO> pathArray,
  3. int numModeInfoArrayElements,
  4. Pointer<DISPLAYCONFIG_MODE_INFO> modeInfoArray,
  5. int flags,
)

Implementation

int SetDisplayConfig(
  int numPathArrayElements,
  ffi.Pointer<DISPLAYCONFIG_PATH_INFO> pathArray,
  int numModeInfoArrayElements,
  ffi.Pointer<DISPLAYCONFIG_MODE_INFO> modeInfoArray,
  int flags,
) {
  return (_SetDisplayConfig ??=
      _dylib.lookupFunction<_c_SetDisplayConfig, _dart_SetDisplayConfig>(
          'SetDisplayConfig'))(
    numPathArrayElements,
    pathArray,
    numModeInfoArrayElements,
    modeInfoArray,
    flags,
  );
}