@@ -15,8 +15,8 @@ static DWORD GetRemotePeb(HANDLE process, PPEB* ppeb)
1515 using tRtlNtStatusToDosError = ULONG (NTAPI *)(
1616 _In_ NTSTATUS Status
1717 );
18- const auto _RtlNtStatusToDosError = tRtlNtStatusToDosError (GetProcAddress (ntdll, " RtlNtStatusToDosError" ));
19- if (!_RtlNtStatusToDosError )
18+ const auto pRtlNtStatusToDosError = tRtlNtStatusToDosError (GetProcAddress (ntdll, " RtlNtStatusToDosError" ));
19+ if (!pRtlNtStatusToDosError )
2020 return ERROR_NOT_FOUND;
2121
2222 using tNtQueryInformationProcess = NTSTATUS (NTAPI *)(
@@ -27,14 +27,14 @@ static DWORD GetRemotePeb(HANDLE process, PPEB* ppeb)
2727 _Out_opt_ PULONG ReturnLength
2828 );
2929
30- const auto _NtQueryInformationProcess = tNtQueryInformationProcess (GetProcAddress (ntdll, " NtQueryInformationProcess" ));
31- if (!_NtQueryInformationProcess )
30+ const auto pNtQueryInformationProcess = tNtQueryInformationProcess (GetProcAddress (ntdll, " NtQueryInformationProcess" ));
31+ if (!pNtQueryInformationProcess )
3232 return ERROR_NOT_FOUND;
3333
3434 PROCESS_BASIC_INFORMATION pbi;
35- const auto status = _NtQueryInformationProcess (process, ProcessBasicInformation, &pbi, sizeof (pbi), nullptr );
35+ const auto status = pNtQueryInformationProcess (process, ProcessBasicInformation, &pbi, sizeof (pbi), nullptr );
3636 if (!NT_SUCCESS (status))
37- return _RtlNtStatusToDosError (status);
37+ return pRtlNtStatusToDosError (status);
3838
3939 *ppeb = pbi.PebBaseAddress ;
4040
0 commit comments