Skip to content

Commit

Permalink
Ptr应为字符串
Browse files Browse the repository at this point in the history
  • Loading branch information
gqqnbig committed Sep 17, 2020
1 parent ad319dd commit d8a57e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 公共.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ IsProcessElevated(vPID)
hToken:=0
if !(DllCall("advapi32\OpenProcessToken", "Ptr",hProc, "UInt",0x8, "PtrP",hToken))
{
DllCall("kernel32\CloseHandle", Ptr,hProc)
DllCall("kernel32\CloseHandle", "Ptr",hProc)
return -1
}
;TokenElevation := 20
Expand Down

0 comments on commit d8a57e4

Please sign in to comment.