Sync with trunk r63935.
[reactos.git] / ntoskrnl / se / lsa.c
1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS kernel
4 * FILE: ntoskrnl/se/sid.c
5 * PURPOSE: Security manager
6 *
7 * PROGRAMMERS: David Welch <welch@cwcom.net>
8 */
9
10 /* INCLUDES *******************************************************************/
11
12 #include <ntoskrnl.h>
13 #define NDEBUG
14 #include <debug.h>
15
16 /* FUNCTIONS ******************************************************************/
17
18 /*
19 * @unimplemented
20 */
21 NTSTATUS
22 NTAPI
23 LsaCallAuthenticationPackage(ULONG Unknown0,
24 ULONG Unknown1,
25 ULONG Unknown2,
26 ULONG Unknown3,
27 ULONG Unknown4,
28 ULONG Unknown5,
29 ULONG Unknown6)
30 {
31 return STATUS_NOT_IMPLEMENTED;
32 }
33
34 /*
35 * @unimplemented
36 */
37 NTSTATUS
38 NTAPI
39 LsaDeregisterLogonProcess(ULONG Unknown0,
40 ULONG Unknown1)
41 {
42 return STATUS_NOT_IMPLEMENTED;
43 }
44
45 /*
46 * @implemented
47 */
48 NTSTATUS
49 NTAPI
50 LsaFreeReturnBuffer(PVOID Buffer)
51 {
52 SIZE_T Size = 0;
53 return ZwFreeVirtualMemory(NtCurrentProcess(),
54 &Buffer,
55 &Size,
56 MEM_RELEASE);
57 }
58
59 /*
60 * @unimplemented
61 */
62 NTSTATUS
63 NTAPI
64 LsaLogonUser(IN HANDLE LsaHandle,
65 IN PLSA_STRING OriginName,
66 IN SECURITY_LOGON_TYPE LogonType,
67 IN ULONG AuthenticationPackage,
68 IN PVOID AuthenticationInformation,
69 IN ULONG AuthenticationInformationLength,
70 IN PTOKEN_GROUPS LocalGroups OPTIONAL,
71 IN PTOKEN_SOURCE SourceContext,
72 OUT PVOID *ProfileBuffer,
73 OUT PULONG ProfileBufferLength,
74 OUT PLUID LogonId,
75 OUT PHANDLE Token,
76 OUT PQUOTA_LIMITS Quotas,
77 OUT PNTSTATUS SubStatus)
78 {
79 return STATUS_NOT_IMPLEMENTED;
80 }
81
82 /*
83 * @unimplemented
84 */
85 NTSTATUS
86 NTAPI
87 LsaLookupAuthenticationPackage(ULONG Unknown0,
88 ULONG Unknown1,
89 ULONG Unknown2)
90 {
91 return STATUS_NOT_IMPLEMENTED;
92 }
93
94 /*
95 * @unimplemented
96 */
97 NTSTATUS
98 NTAPI
99 LsaRegisterLogonProcess(IN PLSA_STRING LogonProcessName,
100 OUT PHANDLE LsaHandle,
101 OUT PLSA_OPERATIONAL_MODE SecurityMode)
102 {
103 return STATUS_NOT_IMPLEMENTED;
104 }
105
106 /*
107 * @unimplemented
108 */
109 NTSTATUS
110 NTAPI
111 SeMarkLogonSessionForTerminationNotification(IN PLUID LogonId)
112 {
113 UNIMPLEMENTED;
114 return STATUS_NOT_IMPLEMENTED;
115 }
116
117 /*
118 * @unimplemented
119 */
120 NTSTATUS
121 NTAPI
122 SeRegisterLogonSessionTerminatedRoutine(IN PSE_LOGON_SESSION_TERMINATED_ROUTINE CallbackRoutine)
123 {
124 UNIMPLEMENTED;
125 return STATUS_NOT_IMPLEMENTED;
126 }
127
128 /*
129 * @unimplemented
130 */
131 NTSTATUS
132 NTAPI
133 SeUnregisterLogonSessionTerminatedRoutine(IN PSE_LOGON_SESSION_TERMINATED_ROUTINE CallbackRoutine)
134 {
135 UNIMPLEMENTED;
136 return STATUS_NOT_IMPLEMENTED;
137 }
138
139 /* EOF */