GetEnvironmentVariable function kernel32
Retrieves the contents of the specified variable from the environment block of the calling process.
DWORD GetEnvironmentVariableW(
LPCTSTR lpName,
LPTSTR lpBuffer,
DWORD nSize
);
Implementation
int GetEnvironmentVariable(
Pointer<Utf16> lpName, Pointer<Utf16> lpBuffer, int nSize) =>
_GetEnvironmentVariable(lpName, lpBuffer, nSize);