mirror of
https://github.com/henrypp/simplewall.git
synced 2026-10-22 02:52:54 -05:00
use NtOpenProcessTokenEx
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -523,7 +523,7 @@ BOOLEAN _app_network_getpath (
|
||||
|
||||
if (ptr_network->type == DATA_APP_UWP)
|
||||
{
|
||||
status = NtOpenProcessToken (process_handle, TOKEN_QUERY, &token_handle);
|
||||
status = NtOpenProcessTokenEx (process_handle, TOKEN_QUERY, 0, &token_handle);
|
||||
|
||||
if (NT_SUCCESS (status))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user