summaryrefslogtreecommitdiffstats
path: root/sandbox/src/registry_interception.h
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/src/registry_interception.h')
-rw-r--r--sandbox/src/registry_interception.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sandbox/src/registry_interception.h b/sandbox/src/registry_interception.h
index 08e8234..7731acd 100644
--- a/sandbox/src/registry_interception.h
+++ b/sandbox/src/registry_interception.h
@@ -25,6 +25,12 @@ SANDBOX_INTERCEPT NTSTATUS WINAPI TargetNtOpenKey(
NtOpenKeyFunction orig_OpenKey, PHANDLE key, ACCESS_MASK desired_access,
POBJECT_ATTRIBUTES object_attributes);
+// Interception of NtOpenKeyEx on the child process.
+// It should never be called directly
+SANDBOX_INTERCEPT NTSTATUS WINAPI TargetNtOpenKeyEx(
+ NtOpenKeyExFunction orig_OpenKeyEx, PHANDLE key, ACCESS_MASK desired_access,
+ POBJECT_ATTRIBUTES object_attributes, DWORD unknown);
+
} // extern "C"
} // namespace sandbox