Alistair Leslie-Hughes : authz: Add AuthzFreeResourceManager stub.
Alexandre Julliard
julliard at winehq.org
Wed May 1 16:37:06 CDT 2019
Module: wine
Branch: master
Commit: d425d519ff5582beae8eaa93164daf75979e82b1
URL: https://source.winehq.org/git/wine.git/?a=commit;h=d425d519ff5582beae8eaa93164daf75979e82b1
Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Mon Apr 29 04:54:08 2019 +0000
authz: Add AuthzFreeResourceManager stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47082
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/authz/authz.c | 9 +++++++++
dlls/authz/authz.spec | 2 +-
.../ext-ms-win-authz-context-l1-1-0.spec | 2 +-
include/authz.h | 1 +
4 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/dlls/authz/authz.c b/dlls/authz/authz.c
index 5502e79..72d462d 100644
--- a/dlls/authz/authz.c
+++ b/dlls/authz/authz.c
@@ -59,6 +59,15 @@ BOOL WINAPI AuthzInitializeResourceManager(DWORD flags, PFN_AUTHZ_DYNAMIC_ACCESS
return FALSE;
}
+/***********************************************************************
+ * AuthzFreeResourceManager (AUTHZ.@)
+ */
+BOOL WINAPI AuthzFreeResourceManager(AUTHZ_RESOURCE_MANAGER_HANDLE handle)
+{
+ FIXME("%p\n", handle);
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ return FALSE;
+}
/***********************************************************************
* AuthzInstallSecurityEventSource (AUTHZ.@)
diff --git a/dlls/authz/authz.spec b/dlls/authz/authz.spec
index eb9e044..933e3d5 100644
--- a/dlls/authz/authz.spec
+++ b/dlls/authz/authz.spec
@@ -6,7 +6,7 @@
@ stub AuthzFreeAuditEvent
@ stdcall AuthzFreeContext(long)
@ stub AuthzFreeHandle
-@ stub AuthzFreeResourceManager
+@ stdcall AuthzFreeResourceManager(ptr)
@ stub AuthzGetInformationFromContext
@ stub AuthzInitializeContextFromAuthzContext
@ stdcall AuthzInitializeContextFromSid(long ptr long ptr int64 ptr ptr)
diff --git a/dlls/ext-ms-win-authz-context-l1-1-0/ext-ms-win-authz-context-l1-1-0.spec b/dlls/ext-ms-win-authz-context-l1-1-0/ext-ms-win-authz-context-l1-1-0.spec
index 1bce6d3..2aa56d6 100644
--- a/dlls/ext-ms-win-authz-context-l1-1-0/ext-ms-win-authz-context-l1-1-0.spec
+++ b/dlls/ext-ms-win-authz-context-l1-1-0/ext-ms-win-authz-context-l1-1-0.spec
@@ -1,6 +1,6 @@
@ stub AuthzFreeAuditEvent
@ stdcall AuthzFreeContext(long) authz.AuthzFreeContext
-@ stub AuthzFreeResourceManager
+@ stdcall AuthzFreeResourceManager(ptr) authz.AuthzFreeResourceManager
@ stub AuthziFreeAuditEventType
@ stub AuthziInitializeAuditEvent
@ stub AuthziInitializeAuditEventType
diff --git a/include/authz.h b/include/authz.h
index 42edc8c..d93372a 100644
--- a/include/authz.h
+++ b/include/authz.h
@@ -103,6 +103,7 @@ BOOL WINAPI AuthzAccessCheck(DWORD flags, AUTHZ_CLIENT_CONTEXT_HANDLE client_con
AUTHZ_ACCESS_CHECK_RESULTS_HANDLE *access_check_result);
BOOL WINAPI AuthzFreeContext(AUTHZ_CLIENT_CONTEXT_HANDLE client_context);
+BOOL WINAPI AuthzFreeResourceManager(AUTHZ_RESOURCE_MANAGER_HANDLE handle);
BOOL WINAPI AuthzInitializeContextFromSid(DWORD flags, PSID sid,
AUTHZ_RESOURCE_MANAGER_HANDLE resource_manager, LARGE_INTEGER *expire_time,
More information about the wine-cvs
mailing list