fix
This commit is contained in:
parent
4dcf5197e2
commit
aee5a9fb00
|
@ -1968,7 +1968,7 @@ DWORD GetParentPIDAndName(DWORD ProcessID, LPTSTR lpszBuffer_Parent_Name, PDWORD
|
|||
DWORD dwParentID = 0;
|
||||
if (NT_SUCCESS(status)) {
|
||||
|
||||
dwParentID = (ULONG_PTR)pbi.InheritedFromUniqueProcessId;
|
||||
dwParentID = (DWORD)pbi.InheritedFromUniqueProcessId;
|
||||
|
||||
if (NULL != lpszBuffer_Parent_Name) {
|
||||
HANDLE hParentProcess = OpenProcess(PROCESS_QUERY_INFORMATION, FALSE, dwParentID);
|
||||
|
|
Loading…
Reference in New Issue