wined3d: indexbuffer -> misc.
[wine/gsoc_dplay.git] / dlls / secur32 / lsa.c
blob0c0fcdcdb7f2c7706185894da54deeebe5b31637
1 /* Copyright (C) 2004 Juan Lang
2 * Copyright (C) 2007 Kai Blin
4 * Local Security Authority functions, as far as secur32 has them.
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
21 #include <stdarg.h>
23 #include "ntstatus.h"
24 #define WIN32_NO_STATUS
25 #include "windef.h"
26 #include "winbase.h"
27 #include "ntsecapi.h"
29 #include "wine/debug.h"
31 WINE_DEFAULT_DEBUG_CHANNEL(lsa);
33 NTSTATUS WINAPI LsaCallAuthenticationPackage(HANDLE LsaHandle,
34 ULONG AuthenticationPackage, PVOID ProtocolSubmitBuffer,
35 ULONG SubmitBufferLength, PVOID* ProtocolReturnBuffer,
36 PULONG ReturnBufferLength, PNTSTATUS ProtocolStatus)
38 FIXME("%p %d %p %d %p %p %p stub\n", LsaHandle, AuthenticationPackage,
39 ProtocolSubmitBuffer, SubmitBufferLength, ProtocolReturnBuffer,
40 ReturnBufferLength, ProtocolStatus);
41 return STATUS_SUCCESS;
44 NTSTATUS WINAPI LsaConnectUntrusted(PHANDLE LsaHandle)
46 FIXME("%p stub\n", LsaHandle);
47 return STATUS_SUCCESS;
50 NTSTATUS WINAPI LsaDeregisterLogonProcess(HANDLE LsaHandle)
52 FIXME("%p stub\n", LsaHandle);
53 return STATUS_SUCCESS;
56 NTSTATUS WINAPI LsaEnumerateLogonSessions(PULONG LogonSessionCount,
57 PLUID* LogonSessionList)
59 FIXME("%p %p stub\n", LogonSessionCount, LogonSessionList);
60 *LogonSessionCount = 0;
61 *LogonSessionList = NULL;
63 return STATUS_SUCCESS;
66 NTSTATUS WINAPI LsaFreeReturnBuffer(PVOID Buffer)
68 FIXME("%p stub\n", Buffer);
69 return STATUS_SUCCESS;
72 NTSTATUS WINAPI LsaGetLogonSessionData(PLUID LogonId,
73 PSECURITY_LOGON_SESSION_DATA* ppLogonSessionData)
75 FIXME("%p %p stub\n", LogonId, ppLogonSessionData);
76 return STATUS_SUCCESS;
79 NTSTATUS WINAPI LsaLogonUser(HANDLE LsaHandle, PLSA_STRING OriginName,
80 SECURITY_LOGON_TYPE LogonType, ULONG AuthenticationPackage,
81 PVOID AuthenticationInformation, ULONG AuthenticationInformationLength,
82 PTOKEN_GROUPS LocalGroups, PTOKEN_SOURCE SourceContext,
83 PVOID* ProfileBuffer, PULONG ProfileBufferLength, PLUID LogonId,
84 PHANDLE Token, PQUOTA_LIMITS Quotas, PNTSTATUS SubStatus)
86 FIXME("%p %p %d %d %p %d %p %p %p %p %p %p %p %p stub\n", LsaHandle,
87 OriginName, LogonType, AuthenticationPackage,
88 AuthenticationInformation, AuthenticationInformationLength,
89 LocalGroups, SourceContext, ProfileBuffer, ProfileBufferLength,
90 LogonId, Token, Quotas, SubStatus);
91 return STATUS_SUCCESS;
94 NTSTATUS WINAPI LsaLookupAuthenticationPackage(HANDLE LsaHandle,
95 PLSA_STRING PackageName, PULONG AuthenticationPackage)
97 FIXME("%p %p %p stub\n", LsaHandle, PackageName, AuthenticationPackage);
98 AuthenticationPackage = NULL;
99 return STATUS_SUCCESS;
102 NTSTATUS WINAPI LsaRegisterLogonProcess(PLSA_STRING LogonProcessName,
103 PHANDLE LsaHandle, PLSA_OPERATIONAL_MODE SecurityMode)
105 FIXME("%p %p %p stub\n", LogonProcessName, LsaHandle, SecurityMode);
106 return STATUS_SUCCESS;