SetFirmwareEnvironmentVariableEx function kernel32
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);