mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[KSECDD] Improve GetSecurityUserInfo stub (#2438)
- Fix UNIMPLEMENTED_DBGBREAK seen using FileMon - Add SAL2 Annotations and remove unneeded comments - Return NULL pointer CORE-15186
This commit is contained in:
parent
d90e1061e1
commit
cb10698316
2 changed files with 10 additions and 4 deletions
|
@ -12,7 +12,7 @@
|
||||||
@ stdcall FreeCredentialsHandle(ptr)
|
@ stdcall FreeCredentialsHandle(ptr)
|
||||||
@ stdcall GenerateDirEfs()
|
@ stdcall GenerateDirEfs()
|
||||||
@ stdcall GenerateSessionKey()
|
@ stdcall GenerateSessionKey()
|
||||||
@ stdcall GetSecurityUserInfo()
|
@ stdcall GetSecurityUserInfo(ptr long ptr)
|
||||||
@ stdcall ImpersonateSecurityContext(ptr)
|
@ stdcall ImpersonateSecurityContext(ptr)
|
||||||
@ stdcall ImportSecurityContextW(ptr ptr ptr ptr)
|
@ stdcall ImportSecurityContextW(ptr ptr ptr ptr)
|
||||||
@ stdcall InitSecurityInterfaceW()
|
@ stdcall InitSecurityInterfaceW()
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
|
typedef PVOID PSECURITY_PACKAGE_OPTIONS, PSecurityUserData;
|
||||||
|
|
||||||
/* FUNCTIONS ******************************************************************/
|
/* FUNCTIONS ******************************************************************/
|
||||||
|
|
||||||
|
@ -160,11 +161,16 @@ GenerateSessionKey(VOID)
|
||||||
UNIMPLEMENTED_DBGBREAK();
|
UNIMPLEMENTED_DBGBREAK();
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID
|
SECURITY_STATUS
|
||||||
SEC_ENTRY
|
SEC_ENTRY
|
||||||
GetSecurityUserInfo(VOID)
|
GetSecurityUserInfo(
|
||||||
|
_In_opt_ PLUID LogonId,
|
||||||
|
_In_ ULONG Flags,
|
||||||
|
_Outptr_ PSecurityUserData *UserInformation)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED_DBGBREAK();
|
UNIMPLEMENTED;
|
||||||
|
*UserInformation = NULL;
|
||||||
|
return STATUS_UNSUCCESSFUL;
|
||||||
}
|
}
|
||||||
|
|
||||||
SECURITY_STATUS
|
SECURITY_STATUS
|
||||||
|
|
Loading…
Reference in a new issue