ReactOS 0.4.16-dev-88-ga65b6ae
lsa.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

NTSTATUS NTAPI SpInitialize (_In_ ULONG_PTR PackageId, _In_ PSECPKG_PARAMETERS Parameters, _In_ PLSA_SECPKG_FUNCTION_TABLE FunctionTable)
 
NTSTATUS NTAPI LsaSpShutDown (VOID)
 
NTSTATUS NTAPI SpAcceptCredentials (_In_ SECURITY_LOGON_TYPE LogonType, _In_ PUNICODE_STRING AccountName, _In_ PSECPKG_PRIMARY_CRED PrimaryCredentials, _In_ PSECPKG_SUPPLEMENTAL_CRED SupplementalCredentials)
 
NTSTATUS NTAPI LsaSpAcquireCredentialsHandle (_In_ PUNICODE_STRING PrincipalName, _In_ ULONG CredentialUseFlags, _In_ PLUID LogonId, _In_ PVOID AuthorizationData, _In_ PVOID GetKeyFunciton, _In_ PVOID GetKeyArgument, _Out_ PLSA_SEC_HANDLE CredentialHandle, _Out_ PTimeStamp ExpirationTime)
 
NTSTATUS NTAPI LsaSpQueryCredentialsAttributes (_In_ LSA_SEC_HANDLE CredentialHandle, _In_ ULONG CredentialAttribute, _Inout_ PVOID Buffer)
 
NTSTATUS NTAPI LsaSpFreeCredentialsHandle (_In_ LSA_SEC_HANDLE CredentialHandle)
 
NTSTATUS NTAPI LsaSpSaveCredentials (_In_ LSA_SEC_HANDLE CredentialHandle, _In_ PSecBuffer Credentials)
 
NTSTATUS NTAPI LsaSpGetCredentials (_In_ LSA_SEC_HANDLE CredentialHandle, _Inout_ PSecBuffer Credentials)
 
NTSTATUS NTAPI LsaSpDeleteCredentials (_In_ LSA_SEC_HANDLE CredentialHandle, _In_ PSecBuffer Key)
 
NTSTATUS NTAPI LsaSpGetInfoW (_Out_ PSecPkgInfoW PackageInfo)
 
NTSTATUS NTAPI LsaSpInitLsaModeContext (_In_ LSA_SEC_HANDLE CredentialHandle, _In_ LSA_SEC_HANDLE ContextHandle, _In_ PUNICODE_STRING TargetName, _In_ ULONG ContextRequirements, _In_ ULONG TargetDataRep, _In_ PSecBufferDesc InputBuffers, _Out_ PLSA_SEC_HANDLE NewContextHandle, _Inout_ PSecBufferDesc OutputBuffers, _Out_ PULONG ContextAttributes, _Out_ PTimeStamp ExpirationTime, _Out_ PBOOLEAN MappedContext, _Out_ PSecBuffer ContextData)
 
NTSTATUS NTAPI LsaSpAcceptLsaModeContext (_In_ LSA_SEC_HANDLE CredentialHandle, _In_ LSA_SEC_HANDLE ContextHandle, _In_ PSecBufferDesc InputBuffer, _In_ ULONG ContextRequirements, _In_ ULONG TargetDataRep, _Out_ PLSA_SEC_HANDLE NewContextHandle, _Inout_ PSecBufferDesc OutputBuffer, _Out_ PULONG ContextAttributes, _Out_ PTimeStamp ExpirationTime, _Out_ PBOOLEAN MappedContext, _Out_ PSecBuffer ContextData)
 
NTSTATUS NTAPI LsaSpDeleteContext (_In_ LSA_SEC_HANDLE ContextHandle)
 
NTSTATUS NTAPI LsaSpApplyControlToken (_In_ LSA_SEC_HANDLE ContextHandle, _In_ PSecBufferDesc ControlToken)
 
NTSTATUS NTAPI LsaSpGetUserInfo (_In_ PLUID LogonId, _In_ ULONG Flags, _Out_ PSecurityUserData *UserData)
 
NTSTATUS NTAPI LsaSpGetExtendedInformation (_In_ SECPKG_EXTENDED_INFORMATION_CLASS Class, _Out_ PSECPKG_EXTENDED_INFORMATION *ppInfo)
 
NTSTATUS NTAPI LsaSpSetExtendedInformation (_In_ SECPKG_EXTENDED_INFORMATION_CLASS Class, _In_ PSECPKG_EXTENDED_INFORMATION Info)
 

Function Documentation

◆ LsaSpAcceptLsaModeContext()

NTSTATUS NTAPI LsaSpAcceptLsaModeContext ( _In_ LSA_SEC_HANDLE  CredentialHandle,
_In_ LSA_SEC_HANDLE  ContextHandle,
_In_ PSecBufferDesc  InputBuffer,
_In_ ULONG  ContextRequirements,
_In_ ULONG  TargetDataRep,
_Out_ PLSA_SEC_HANDLE  NewContextHandle,
_Inout_ PSecBufferDesc  OutputBuffer,
_Out_ PULONG  ContextAttributes,
_Out_ PTimeStamp  ExpirationTime,
_Out_ PBOOLEAN  MappedContext,
_Out_ PSecBuffer  ContextData 
)

Definition at line 154 of file lsa.c.

166{
167 TRACE("LsaSpAcceptLsaModeContext(0x%p 0x%p 0x%p %i %i 0x%p 0x%p 0x%p "
168 "0x%p 0x%p 0x%p)\n",
169 CredentialHandle, ContextHandle, InputBuffer, ContextRequirements,
170 TargetDataRep, NewContextHandle, OutputBuffer,
171 ContextAttributes, ExpirationTime, MappedContext, ContextData);
173}
#define STATUS_NOT_IMPLEMENTED
Definition: ntstatus.h:239
#define TRACE(s)
Definition: solgame.cpp:4
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR OutputBuffer
Definition: wdfiotarget.h:863
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR InputBuffer
Definition: wdfiotarget.h:953

◆ LsaSpAcquireCredentialsHandle()

NTSTATUS NTAPI LsaSpAcquireCredentialsHandle ( _In_ PUNICODE_STRING  PrincipalName,
_In_ ULONG  CredentialUseFlags,
_In_ PLUID  LogonId,
_In_ PVOID  AuthorizationData,
_In_ PVOID  GetKeyFunciton,
_In_ PVOID  GetKeyArgument,
_Out_ PLSA_SEC_HANDLE  CredentialHandle,
_Out_ PTimeStamp  ExpirationTime 
)

Definition at line 50 of file lsa.c.

59{
60 TRACE("LsaSpAcquireCredentialsHandle(%wZ 0x%lx 0x%p 0x%p 0x%p 0x%p 0x%p 0x%p)\n",
61 PrincipalName, CredentialUseFlags, LogonId,
62 AuthorizationData, GetKeyFunciton, GetKeyArgument,
63 CredentialHandle, ExpirationTime);
65}
_IRQL_requires_same_ _In_ PLSA_STRING _In_ SECURITY_LOGON_TYPE _In_ ULONG _In_ ULONG _In_opt_ PTOKEN_GROUPS _In_ PTOKEN_SOURCE _Out_ PVOID _Out_ PULONG _Inout_ PLUID LogonId

◆ LsaSpApplyControlToken()

NTSTATUS NTAPI LsaSpApplyControlToken ( _In_ LSA_SEC_HANDLE  ContextHandle,
_In_ PSecBufferDesc  ControlToken 
)

Definition at line 186 of file lsa.c.

189{
190 TRACE("LsaSpApplyControlToken(0x%p 0x%p)\n", ContextHandle, ControlToken);
192}

◆ LsaSpDeleteContext()

NTSTATUS NTAPI LsaSpDeleteContext ( _In_ LSA_SEC_HANDLE  ContextHandle)

Definition at line 177 of file lsa.c.

179{
180 TRACE("LsaSpDeleteContext(0x%p)\n", ContextHandle);
182}

◆ LsaSpDeleteCredentials()

NTSTATUS NTAPI LsaSpDeleteCredentials ( _In_ LSA_SEC_HANDLE  CredentialHandle,
_In_ PSecBuffer  Key 
)

Definition at line 110 of file lsa.c.

113{
114 TRACE("LsaSpDeleteCredentials(0x%p 0x%p)\n", CredentialHandle, Key);
116}

◆ LsaSpFreeCredentialsHandle()

NTSTATUS NTAPI LsaSpFreeCredentialsHandle ( _In_ LSA_SEC_HANDLE  CredentialHandle)

Definition at line 81 of file lsa.c.

83{
84 TRACE("LsaSpFreeCredentialsHandle(0x%p)\n", CredentialHandle);
86}

◆ LsaSpGetCredentials()

NTSTATUS NTAPI LsaSpGetCredentials ( _In_ LSA_SEC_HANDLE  CredentialHandle,
_Inout_ PSecBuffer  Credentials 
)

Definition at line 100 of file lsa.c.

103{
104 TRACE("LsaSpGetCredentials(0x%p 0x%p)\n", CredentialHandle, Credentials);
106}

◆ LsaSpGetExtendedInformation()

NTSTATUS NTAPI LsaSpGetExtendedInformation ( _In_ SECPKG_EXTENDED_INFORMATION_CLASS  Class,
_Out_ PSECPKG_EXTENDED_INFORMATION ppInfo 
)

Definition at line 207 of file lsa.c.

210{
211 TRACE("LsaSpGetExtendedInformation(0x%lx 0x%p)\n",
212 Class, ppInfo);
214}

◆ LsaSpGetInfoW()

NTSTATUS NTAPI LsaSpGetInfoW ( _Out_ PSecPkgInfoW  PackageInfo)

Definition at line 120 of file lsa.c.

122{
123 TRACE("LsaGetInfo(0x%p)\n", PackageInfo);
125}

◆ LsaSpGetUserInfo()

NTSTATUS NTAPI LsaSpGetUserInfo ( _In_ PLUID  LogonId,
_In_ ULONG  Flags,
_Out_ PSecurityUserData UserData 
)

Definition at line 196 of file lsa.c.

200{
201 TRACE("LsaSpGetUserInfo(0x%p 0x%lx 0x%p)\n", LogonId, Flags, UserData);
203}
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170

◆ LsaSpInitLsaModeContext()

NTSTATUS NTAPI LsaSpInitLsaModeContext ( _In_ LSA_SEC_HANDLE  CredentialHandle,
_In_ LSA_SEC_HANDLE  ContextHandle,
_In_ PUNICODE_STRING  TargetName,
_In_ ULONG  ContextRequirements,
_In_ ULONG  TargetDataRep,
_In_ PSecBufferDesc  InputBuffers,
_Out_ PLSA_SEC_HANDLE  NewContextHandle,
_Inout_ PSecBufferDesc  OutputBuffers,
_Out_ PULONG  ContextAttributes,
_Out_ PTimeStamp  ExpirationTime,
_Out_ PBOOLEAN  MappedContext,
_Out_ PSecBuffer  ContextData 
)

Definition at line 129 of file lsa.c.

142{
143 TRACE("LsaSpInitLsaModeContext(0x%p 0x%p %wZ 0x%lx %i 0x%p 0x%p 0x%p "
144 "0x%p 0x%p 0x%p 0x%p 0x%p 0x%p 0x%p 0x%p)\n",
145 CredentialHandle, ContextHandle, TargetName,
146 ContextRequirements, TargetDataRep, InputBuffers,
147 NewContextHandle, OutputBuffers, ContextAttributes,
148 ExpirationTime, MappedContext, ContextData);
150}
static PCWSTR TargetName
Definition: ping.c:67

◆ LsaSpQueryCredentialsAttributes()

NTSTATUS NTAPI LsaSpQueryCredentialsAttributes ( _In_ LSA_SEC_HANDLE  CredentialHandle,
_In_ ULONG  CredentialAttribute,
_Inout_ PVOID  Buffer 
)

Definition at line 69 of file lsa.c.

73{
74 TRACE("LsaSpQueryCredentialsAttributes(0x%p 0x%lx 0x%p)\n",
75 CredentialHandle, CredentialAttribute, Buffer);
77}
Definition: bufpool.h:45

◆ LsaSpSaveCredentials()

NTSTATUS NTAPI LsaSpSaveCredentials ( _In_ LSA_SEC_HANDLE  CredentialHandle,
_In_ PSecBuffer  Credentials 
)

Definition at line 90 of file lsa.c.

93{
94 TRACE("LsaSpSaveCredentials(0x%p 0x%p)\n", CredentialHandle, Credentials);
96}

◆ LsaSpSetExtendedInformation()

NTSTATUS NTAPI LsaSpSetExtendedInformation ( _In_ SECPKG_EXTENDED_INFORMATION_CLASS  Class,
_In_ PSECPKG_EXTENDED_INFORMATION  Info 
)

Definition at line 218 of file lsa.c.

221{
222 TRACE("LsaSpSetExtendedInformation(0x%lx 0x%p)\n",
223 Class, Info);
225}
_Must_inspect_result_ _In_ WDFCHILDLIST _In_ PWDF_CHILD_LIST_ITERATOR _Out_ WDFDEVICE _Inout_opt_ PWDF_CHILD_RETRIEVE_INFO Info
Definition: wdfchildlist.h:690

◆ LsaSpShutDown()

NTSTATUS NTAPI LsaSpShutDown ( VOID  )

Definition at line 28 of file lsa.c.

29{
30 TRACE("LsaSpShutDown\n");
32}

◆ SpAcceptCredentials()

NTSTATUS NTAPI SpAcceptCredentials ( _In_ SECURITY_LOGON_TYPE  LogonType,
_In_ PUNICODE_STRING  AccountName,
_In_ PSECPKG_PRIMARY_CRED  PrimaryCredentials,
_In_ PSECPKG_SUPPLEMENTAL_CRED  SupplementalCredentials 
)

Definition at line 37 of file lsa.c.

42{
43 TRACE("LsaSpAcceptCredentials(%li %wZ 0x%p 0x%p)\n",
44 LogonType, AccountName, PrimaryCredentials, SupplementalCredentials);
46}
_IRQL_requires_same_ _In_ PLSA_STRING _In_ SECURITY_LOGON_TYPE LogonType

◆ SpInitialize()

NTSTATUS NTAPI SpInitialize ( _In_ ULONG_PTR  PackageId,
_In_ PSECPKG_PARAMETERS  Parameters,
_In_ PLSA_SECPKG_FUNCTION_TABLE  FunctionTable 
)

Definition at line 16 of file lsa.c.

20{
21 TRACE("LsaSpInitialize (0x%p, 0x%p, 0x%p)\n",
24}
static ULONG PackageId
Definition: authpackage.c:163
_Must_inspect_result_ _In_ WDFQUEUE _In_opt_ WDFREQUEST _In_opt_ WDFFILEOBJECT _Inout_opt_ PWDF_REQUEST_PARAMETERS Parameters
Definition: wdfio.h:869
static WLX_DISPATCH_VERSION_1_4 FunctionTable
Definition: wlx.c:722