user32: Reimplement UserYield using PeekMessageW.
[wine/multimedia.git] / dlls / secur32 / lsa.c
blobfa765ed2ce188646ab87ff5322bd32b3e884b5b0
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 *ppLogonSessionData = NULL;
77 return STATUS_NOT_IMPLEMENTED;
80 NTSTATUS WINAPI LsaLogonUser(HANDLE LsaHandle, PLSA_STRING OriginName,
81 SECURITY_LOGON_TYPE LogonType, ULONG AuthenticationPackage,
82 PVOID AuthenticationInformation, ULONG AuthenticationInformationLength,
83 PTOKEN_GROUPS LocalGroups, PTOKEN_SOURCE SourceContext,
84 PVOID* ProfileBuffer, PULONG ProfileBufferLength, PLUID LogonId,
85 PHANDLE Token, PQUOTA_LIMITS Quotas, PNTSTATUS SubStatus)
87 FIXME("%p %p %d %d %p %d %p %p %p %p %p %p %p %p stub\n", LsaHandle,
88 OriginName, LogonType, AuthenticationPackage,
89 AuthenticationInformation, AuthenticationInformationLength,
90 LocalGroups, SourceContext, ProfileBuffer, ProfileBufferLength,
91 LogonId, Token, Quotas, SubStatus);
92 return STATUS_SUCCESS;
95 NTSTATUS WINAPI LsaLookupAuthenticationPackage(HANDLE LsaHandle,
96 PLSA_STRING PackageName, PULONG AuthenticationPackage)
98 FIXME("%p %p %p stub\n", LsaHandle, PackageName, AuthenticationPackage);
99 AuthenticationPackage = NULL;
100 return STATUS_SUCCESS;
103 NTSTATUS WINAPI LsaRegisterLogonProcess(PLSA_STRING LogonProcessName,
104 PHANDLE LsaHandle, PLSA_OPERATIONAL_MODE SecurityMode)
106 FIXME("%p %p %p stub\n", LogonProcessName, LsaHandle, SecurityMode);
107 return STATUS_SUCCESS;