SetFirmwareEnvironmentVariableEx function kernel32

int SetFirmwareEnvironmentVariableEx(
  1. Pointer<Utf16> lpName,
  2. Pointer<Utf16> lpGuid,
  3. Pointer<NativeType> pValue,
  4. int nSize,
  5. int dwAttributes,
)

Sets the value of the specified firmware environment variable and the attributes that indicate how this variable is stored and maintained.

BOOL SetFirmwareEnvironmentVariableExW(
  LPCWSTR lpName,
  LPCWSTR lpGuid,
  PVOID   pValue,
  DWORD   nSize,
  DWORD   dwAttributes
);

Implementation

int SetFirmwareEnvironmentVariableEx(Pointer<Utf16> lpName,
        Pointer<Utf16> lpGuid, Pointer pValue, int nSize, int dwAttributes) =>
    _SetFirmwareEnvironmentVariableEx(
        lpName, lpGuid, pValue, nSize, dwAttributes);