aboutsummaryrefslogtreecommitdiff
path: root/CPP/Windows/SecurityUtils.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--CPP/Windows/SecurityUtils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/CPP/Windows/SecurityUtils.h b/CPP/Windows/SecurityUtils.h
index 4ef3939..7219f06 100644
--- a/CPP/Windows/SecurityUtils.h
+++ b/CPP/Windows/SecurityUtils.h
@@ -18,6 +18,8 @@ typedef NTSTATUS (NTAPI *Func_LsaAddAccountRights)(LSA_HANDLE PolicyHandle,
18#define MY_STATUS_NOT_IMPLEMENTED ((NTSTATUS)0xC0000002L) 18#define MY_STATUS_NOT_IMPLEMENTED ((NTSTATUS)0xC0000002L)
19} 19}
20 20
21Z7_DIAGNOSTIC_IGNORE_CAST_FUNCTION
22
21#define POLICY_FUNC_CALL(fff, str) \ 23#define POLICY_FUNC_CALL(fff, str) \
22 if (hModule == NULL) return MY_STATUS_NOT_IMPLEMENTED; \ 24 if (hModule == NULL) return MY_STATUS_NOT_IMPLEMENTED; \
23 const Func_ ## fff v = Z7_GET_PROC_ADDRESS(Func_ ## fff, hModule, str); \ 25 const Func_ ## fff v = Z7_GET_PROC_ADDRESS(Func_ ## fff, hModule, str); \