QueryDisplayConfig method

int QueryDisplayConfig(
  1. int flags,
  2. Pointer<Uint32> numPathArrayElements,
  3. Pointer<DISPLAYCONFIG_PATH_INFO> pathArray,
  4. Pointer<Uint32> numModeInfoArrayElements,
  5. Pointer<DISPLAYCONFIG_MODE_INFO> modeInfoArray,
  6. Pointer<Int32> currentTopologyId,
)

Implementation

int QueryDisplayConfig(
  int flags,
  ffi.Pointer<ffi.Uint32> numPathArrayElements,
  ffi.Pointer<DISPLAYCONFIG_PATH_INFO> pathArray,
  ffi.Pointer<ffi.Uint32> numModeInfoArrayElements,
  ffi.Pointer<DISPLAYCONFIG_MODE_INFO> modeInfoArray,
  ffi.Pointer<ffi.Int32> currentTopologyId,
) {
  return (_QueryDisplayConfig ??=
      _dylib.lookupFunction<_c_QueryDisplayConfig, _dart_QueryDisplayConfig>(
          'QueryDisplayConfig'))(
    flags,
    numPathArrayElements,
    pathArray,
    numModeInfoArrayElements,
    modeInfoArray,
    currentTopologyId,
  );
}