secur32: Implement LsaGetLogonSessionData stub.

This commit is contained in:
Kai Blin 2007-08-29 22:18:54 +02:00 committed by Alexandre Julliard
parent 8942443a42
commit 0c6e2c20bd
3 changed files with 23 additions and 1 deletions

View File

@ -69,6 +69,13 @@ NTSTATUS WINAPI LsaFreeReturnBuffer(PVOID Buffer)
return STATUS_SUCCESS; return STATUS_SUCCESS;
} }
NTSTATUS WINAPI LsaGetLogonSessionData(PLUID LogonId,
PSECURITY_LOGON_SESSION_DATA* ppLogonSessionData)
{
FIXME("%p %p stub\n", LogonId, ppLogonSessionData);
return STATUS_SUCCESS;
}
NTSTATUS WINAPI LsaLookupAuthenticationPackage(HANDLE LsaHandle, NTSTATUS WINAPI LsaLookupAuthenticationPackage(HANDLE LsaHandle,
PLSA_STRING PackageName, PULONG AuthenticationPackage) PLSA_STRING PackageName, PULONG AuthenticationPackage)
{ {

View File

@ -37,7 +37,7 @@
@ stdcall LsaDeregisterLogonProcess(long) @ stdcall LsaDeregisterLogonProcess(long)
@ stdcall LsaEnumerateLogonSessions(ptr ptr) @ stdcall LsaEnumerateLogonSessions(ptr ptr)
@ stdcall LsaFreeReturnBuffer(ptr) @ stdcall LsaFreeReturnBuffer(ptr)
@ stub LsaGetLogonSessionData @ stdcall LsaGetLogonSessionData(ptr ptr)
@ stub LsaLogonUser @ stub LsaLogonUser
@ stdcall LsaLookupAuthenticationPackage(ptr ptr ptr) @ stdcall LsaLookupAuthenticationPackage(ptr ptr ptr)
@ stub LsaRegisterLogonProcess @ stub LsaRegisterLogonProcess

View File

@ -235,6 +235,21 @@ typedef struct _POLICY_MODIFICATION_INFO
LARGE_INTEGER DatabaseCreationTime; LARGE_INTEGER DatabaseCreationTime;
} POLICY_MODIFICATION_INFO, *PPOLICY_MODIFICATION_INFO; } POLICY_MODIFICATION_INFO, *PPOLICY_MODIFICATION_INFO;
typedef struct _SECURITY_LOGON_SESSION_DATA {
ULONG Size;
LUID LogonId;
LSA_UNICODE_STRING UserName;
LSA_UNICODE_STRING LogonDomain;
LSA_UNICODE_STRING AuthenticationPackage;
ULONG LogonType;
ULONG Session;
PSID Sid;
LARGE_INTEGER LogonTime;
LSA_UNICODE_STRING LogonServer;
LSA_UNICODE_STRING DnsDomainName;
LSA_UNICODE_STRING Upn;
} SECURITY_LOGON_SESSION_DATA, *PSECURITY_LOGON_SESSION_DATA;
typedef struct typedef struct
{ {
SID_NAME_USE Use; SID_NAME_USE Use;