diff --git a/dlls/secur32/lsa.c b/dlls/secur32/lsa.c index db0d61e7637..df510130afa 100644 --- a/dlls/secur32/lsa.c +++ b/dlls/secur32/lsa.c @@ -69,6 +69,13 @@ NTSTATUS WINAPI LsaFreeReturnBuffer(PVOID Buffer) 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, PLSA_STRING PackageName, PULONG AuthenticationPackage) { diff --git a/dlls/secur32/secur32.spec b/dlls/secur32/secur32.spec index 9e3be02c168..a71fee6499c 100644 --- a/dlls/secur32/secur32.spec +++ b/dlls/secur32/secur32.spec @@ -37,7 +37,7 @@ @ stdcall LsaDeregisterLogonProcess(long) @ stdcall LsaEnumerateLogonSessions(ptr ptr) @ stdcall LsaFreeReturnBuffer(ptr) -@ stub LsaGetLogonSessionData +@ stdcall LsaGetLogonSessionData(ptr ptr) @ stub LsaLogonUser @ stdcall LsaLookupAuthenticationPackage(ptr ptr ptr) @ stub LsaRegisterLogonProcess diff --git a/include/ntsecapi.h b/include/ntsecapi.h index 8ef61674e3f..cedd20ce94c 100644 --- a/include/ntsecapi.h +++ b/include/ntsecapi.h @@ -235,6 +235,21 @@ typedef struct _POLICY_MODIFICATION_INFO LARGE_INTEGER DatabaseCreationTime; } 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 { SID_NAME_USE Use;