4 * Copyright 2009 Austin English
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
24 #include "wine/debug.h"
28 WINE_DEFAULT_DEBUG_CHANNEL(authz
);
30 /***********************************************************************
31 * AuthzInitializeResourceManager (AUTHZ.@)
33 BOOL WINAPI
AuthzInitializeResourceManager(DWORD flags
, PFN_AUTHZ_DYNAMIC_ACCESS_CHECK access_checker
,
34 PFN_AUTHZ_COMPUTE_DYNAMIC_GROUPS compute_dyn_groups
, PFN_AUTHZ_FREE_DYNAMIC_GROUPS free_dyn_groups
,
35 const WCHAR
*managername
, AUTHZ_RESOURCE_MANAGER_HANDLE
*handle
)
37 FIXME("(0x%lx,%p,%p,%p,%s,%p): stub\n", flags
, access_checker
,
38 compute_dyn_groups
, free_dyn_groups
,
39 debugstr_w(managername
), handle
);
40 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
44 /***********************************************************************
45 * AuthzFreeResourceManager (AUTHZ.@)
47 BOOL WINAPI
AuthzFreeResourceManager(AUTHZ_RESOURCE_MANAGER_HANDLE handle
)
49 FIXME("%p\n", handle
);
50 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
54 /***********************************************************************
55 * AuthzInstallSecurityEventSource (AUTHZ.@)
57 BOOL WINAPI
AuthzInstallSecurityEventSource(DWORD flags
, AUTHZ_SOURCE_SCHEMA_REGISTRATION
*registration
)
59 FIXME("(0x%lx,%p): stub\n", flags
, registration
);
60 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
65 /***********************************************************************
66 * AuthzAccessCheck (AUTHZ.@)
68 BOOL WINAPI
AuthzAccessCheck(DWORD flags
, AUTHZ_CLIENT_CONTEXT_HANDLE client_context
,
69 AUTHZ_ACCESS_REQUEST
*request
, AUTHZ_AUDIT_EVENT_HANDLE audit_event
,
70 PSECURITY_DESCRIPTOR security
, PSECURITY_DESCRIPTOR
*optional_security
,
71 DWORD optional_security_count
, AUTHZ_ACCESS_REPLY
*reply
,
72 AUTHZ_ACCESS_CHECK_RESULTS_HANDLE
*access_check_result
)
74 FIXME("(0x%lx,%p,%p,%p,%p,%p,0x%lx,%p,%p): stub\n", flags
, client_context
,
75 request
, audit_event
, security
, optional_security
,
76 optional_security_count
, reply
, access_check_result
);
77 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
82 /***********************************************************************
83 * AuthzFreeContext (AUTHZ.@)
85 BOOL WINAPI
AuthzFreeContext(AUTHZ_CLIENT_CONTEXT_HANDLE client_context
)
87 FIXME("(%p): stub\n", client_context
);
88 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
93 /***********************************************************************
94 * AuthzInitializeContextFromSid (AUTHZ.@)
96 BOOL WINAPI
AuthzInitializeContextFromSid(DWORD flags
, PSID sid
,
97 AUTHZ_RESOURCE_MANAGER_HANDLE resource_manager
, LARGE_INTEGER
*expire_time
,
98 LUID id
, void *dynamic_group
, AUTHZ_CLIENT_CONTEXT_HANDLE
*client_context
)
100 FIXME("(0x%lx,%p,%p,%p,%08lx:%08lx,%p,%p): stub\n", flags
, sid
, resource_manager
,
101 expire_time
, id
.HighPart
, id
.LowPart
, dynamic_group
, client_context
);
102 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);
107 /***********************************************************************
108 * AuthzInitializeContextFromToken (AUTHZ.@)
110 BOOL WINAPI
AuthzInitializeContextFromToken(DWORD flags
, HANDLE token_handle
,
111 AUTHZ_RESOURCE_MANAGER_HANDLE resource_manager
, LARGE_INTEGER
*expire_time
,
112 LUID id
, void *dynamic_group
, AUTHZ_CLIENT_CONTEXT_HANDLE
*client_context
)
114 FIXME("(0x%lx,%p,%p,%p,%08lx:%08lx,%p,%p): stub\n", flags
, token_handle
, resource_manager
,
115 expire_time
, id
.HighPart
, id
.LowPart
, dynamic_group
, client_context
);
116 SetLastError(ERROR_CALL_NOT_IMPLEMENTED
);