Update RfGetEnvironmentVariable.cpp

bug fix
This commit is contained in:
vxunderground 2022-07-17 08:42:06 -05:00 committed by GitHub
parent c9a90cbf80
commit e200726ca0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,7 +63,7 @@ EXIT_ROUTINE:
return (bFlag == TRUE ? uString.Length : 0);
}
DWORD RfGetEnvironmentVariableA(LPCSTR Name, LPSTR Buffer, DWORD Size, BOOL UseAlt)
DWORD RfGetEnvironmentVariableA(LPCSTR Name, LPSTR Buffer, DWORD Size)
{
UNICODE_STRING uString; RtlZeroMemory(&uString, sizeof(UNICODE_STRING));
UNICODE_STRING Variable; RtlZeroMemory(&Variable, sizeof(UNICODE_STRING));