https://git.reactos.org/?p=reactos.git;a=commitdiff;h=791f331d67e0546a68103…
commit 791f331d67e0546a68103506dba9c75dd8088830
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Sun Sep 2 11:58:30 2018 +0200
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Sun Sep 2 11:59:19 2018 +0200
[IDL] Add the undocumented struct _SAMPR_USER_INTERNAL2_INFORMATION to sam.idl
---
sdk/include/reactos/idl/sam.idl | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/sdk/include/reactos/idl/sam.idl b/sdk/include/reactos/idl/sam.idl
index 7322379bf8..31cb7d3ce2 100644
--- a/sdk/include/reactos/idl/sam.idl
+++ b/sdk/include/reactos/idl/sam.idl
@@ -644,6 +644,15 @@ typedef struct _SAMPR_USER_INTERNAL1_INFORMATION
BOOLEAN PasswordExpired;
} SAMPR_USER_INTERNAL1_INFORMATION, *PSAMPR_USER_INTERNAL1_INFORMATION;
+typedef struct _SAMPR_USER_INTERNAL2_INFORMATION
+{
+ unsigned long Flags;
+ OLD_LARGE_INTEGER LastLogon;
+ OLD_LARGE_INTEGER LastLogoff;
+ unsigned short BadPasswordCount;
+ unsigned short LogonCount;
+} SAMPR_USER_INTERNAL2_INFORMATION, *PSAMPR_USER_INTERNAL2_INFORMATION;
+
typedef struct _SAMPR_USER_INTERNAL4_INFORMATION
{
SAMPR_USER_ALL_INFORMATION I1;
@@ -723,6 +732,7 @@ typedef [switch_type(USER_INFORMATION_CLASS)] union
_SAMPR_USER_INFO_BUFFER
[case(UserControlInformation)] USER_CONTROL_INFORMATION Control;
[case(UserExpiresInformation)] USER_EXPIRES_INFORMATION Expires;
[case(UserInternal1Information)] SAMPR_USER_INTERNAL1_INFORMATION Internal1;
+ [case(UserInternal2Information)] SAMPR_USER_INTERNAL2_INFORMATION Internal2;
[case(UserParametersInformation)] SAMPR_USER_PARAMETERS_INFORMATION Parameters;
[case(UserAllInformation)] SAMPR_USER_ALL_INFORMATION All;
[case(UserInternal4Information)] SAMPR_USER_INTERNAL4_INFORMATION Internal4;