SetEnvironmentVariable function kernel32

int SetEnvironmentVariable(
  1. Pointer<Utf16> lpName,
  2. Pointer<Utf16> lpValue
)

Sets the contents of the specified environment variable for the current process.

BOOL SetEnvironmentVariableW(
  LPCWSTR lpName,
  LPCWSTR lpValue
);

Implementation

int SetEnvironmentVariable(Pointer<Utf16> lpName, Pointer<Utf16> lpValue) =>
    _SetEnvironmentVariable(lpName, lpValue);