aboutsummaryrefslogtreecommitdiff
path: root/CPP/Windows/SecurityUtils.h
diff options
context:
space:
mode:
authorIgor Pavlov <87184205+ip7z@users.noreply.github.com>2024-05-14 00:00:00 +0000
committerIgor Pavlov <87184205+ip7z@users.noreply.github.com>2024-05-15 23:55:04 +0500
commitfc662341e6f85da78ada0e443f6116b978f79f22 (patch)
tree1be1cc402a7a9cbc18d4eeea6b141354c2d559e3 /CPP/Windows/SecurityUtils.h
parent5b39dc76f1bc82f941d5c800ab9f34407a06b53a (diff)
download7zip-24.05.tar.gz
7zip-24.05.tar.bz2
7zip-24.05.zip
24.0524.05
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); \