SetFirmwareEnvironmentVariableExW method

int SetFirmwareEnvironmentVariableExW(
  1. Pointer<Uint16> lpName,
  2. Pointer<Uint16> lpGuid,
  3. Pointer<Void> pValue,
  4. int nSize,
  5. int dwAttributes,
)

Implementation

int SetFirmwareEnvironmentVariableExW(
  ffi.Pointer<ffi.Uint16> lpName,
  ffi.Pointer<ffi.Uint16> lpGuid,
  ffi.Pointer<ffi.Void> pValue,
  int nSize,
  int dwAttributes,
) {
  return (_SetFirmwareEnvironmentVariableExW ??= _dylib.lookupFunction<
          _c_SetFirmwareEnvironmentVariableExW,
          _dart_SetFirmwareEnvironmentVariableExW>(
      'SetFirmwareEnvironmentVariableExW'))(
    lpName,
    lpGuid,
    pValue,
    nSize,
    dwAttributes,
  );
}