ReactOS  0.4.13-dev-982-g9853eab
msv1_0.h
Go to the documentation of this file.
1 /*
2  * PROJECT: Authentication Package DLL
3  * LICENSE: GPL - See COPYING in the top level directory
4  * FILE: dll/win32/msv1_0/msv1_0.h
5  * PURPOSE: Common header file
6  * COPYRIGHT: Copyright 2013 Eric Kohl
7  */
8 
9 #define WIN32_NO_STATUS
10 #define _INC_WINDOWS
11 #define COM_NO_WINDOWS_H
12 #include <stdarg.h>
13 #include <windef.h>
14 #include <winbase.h>
15 #include <winreg.h>
16 #define NTOS_MODE_USER
17 #include <ndk/cmfuncs.h>
18 #include <ndk/kefuncs.h>
19 #include <ndk/lpctypes.h>
20 #include <ndk/lpcfuncs.h>
21 #include <ndk/mmfuncs.h>
22 #include <ndk/obfuncs.h>
23 #include <ndk/psfuncs.h>
24 #include <ndk/rtlfuncs.h>
25 #include <ndk/setypes.h>
26 #include <ndk/sefuncs.h>
27 
28 #include <sspi.h>
29 #include <ntsecapi.h>
30 #include <ntsecpkg.h>
31 #include <ntsam.h>
32 #include <ntlsa.h>
33 
34 #include <samsrv/samsrv.h>
35 //#include <lsass/lsasrv.h>
36 
37 #include <wine/debug.h>
38 
39 
40 #define FIXUP_POINTER(Pointer, Offset) ((Pointer != NULL) ? ((PWSTR)((ULONG_PTR)Pointer + Offset)) : NULL)
41 
42 
43 typedef struct _RPC_SID
44 {
49 } RPC_SID, *PRPC_SID;
50 
51 typedef struct _RPC_UNICODE_STRING
52 {
53  unsigned short Length;
54  unsigned short MaximumLength;
55  wchar_t *Buffer;
57 
58 typedef wchar_t *PSAMPR_SERVER_NAME;
59 typedef void *SAMPR_HANDLE;
60 
61 typedef struct _OLD_LARGE_INTEGER
62 {
63  unsigned long LowPart;
64  long HighPart;
66 
67 typedef struct RPC_SHORT_BLOB
68 {
69  unsigned short Length;
70  unsigned short MaximumLength;
71  unsigned short *Buffer;
73 
75 {
76  unsigned long Length;
77  unsigned char *SecurityDescriptor;
79 
81 {
82  char data[16];
84 
85 typedef struct _SAMPR_ULONG_ARRAY
86 {
90 
91 typedef struct _SAMPR_LOGON_HOURS
92 {
93  unsigned short UnitsPerWeek;
94  unsigned char *LogonHours;
96 
97 #define USER_LOGON_BAD_PASSWORD 0x08000000
98 #define USER_LOGON_SUCCESS 0x10000000
99 
101 {
102  unsigned long Flags;
105  unsigned short BadPasswordCount;
106  unsigned short LogonCount;
108 
110 {
131  unsigned long UserId;
132  unsigned long PrimaryGroupId;
133  unsigned long UserAccountControl;
134  unsigned long WhichFields;
136  unsigned short BadPasswordCount;
137  unsigned short LogonCount;
138  unsigned short CountryCode;
139  unsigned short CodePage;
140  unsigned char LmPasswordPresent;
141  unsigned char NtPasswordPresent;
142  unsigned char PasswordExpired;
143  unsigned char PrivateDataSensitive;
145 
147 {
148 #if 0
167 #endif
169 #if 0
171 #endif
173 #if 0
178 #endif
180 
181 
182 NTSTATUS
183 NTAPI
185  OUT SAMPR_HANDLE *ServerHandle,
187  IN BOOLEAN Trusted);
188 
189 VOID
190 NTAPI
192 
193 VOID
194 NTAPI
196 
197 VOID
198 NTAPI
201 
202 NTSTATUS
203 NTAPI
205  IN unsigned char LmPresent,
206  IN PENCRYPTED_LM_OWF_PASSWORD OldLmEncryptedWithNewLm,
207  IN PENCRYPTED_LM_OWF_PASSWORD NewLmEncryptedWithOldLm,
208  IN unsigned char NtPresent,
209  IN PENCRYPTED_NT_OWF_PASSWORD OldNtEncryptedWithNewNt,
210  IN PENCRYPTED_NT_OWF_PASSWORD NewNtEncryptedWithOldNt,
211  IN unsigned char NtCrossEncryptionPresent,
212  IN PENCRYPTED_NT_OWF_PASSWORD NewNtEncryptedWithNewLm,
213  IN unsigned char LmCrossEncryptionPresent,
214  IN PENCRYPTED_LM_OWF_PASSWORD NewLmEncryptedWithNewNt);
215 
216 NTSTATUS
217 NTAPI
218 SamrCloseHandle(IN OUT SAMPR_HANDLE *SamHandle);
219 
220 NTSTATUS
221 NTAPI
224  OUT PRPC_SID *DomainId);
225 
226 NTSTATUS
227 NTAPI
229  IN ULONG Count,
231  OUT PSAMPR_ULONG_ARRAY RelativeIds,
232  OUT PSAMPR_ULONG_ARRAY Use);
233 
234 NTSTATUS
235 NTAPI
236 SamrOpenDomain(IN SAMPR_HANDLE ServerHandle,
238  IN PRPC_SID DomainId,
239  OUT SAMPR_HANDLE *DomainHandle);
240 
241 NTSTATUS
242 NTAPI
243 SamrOpenUser(IN SAMPR_HANDLE DomainHandle,
245  IN ULONG UserId,
246  OUT SAMPR_HANDLE *UserHandle);
247 
248 NTSTATUS
249 NTAPI
251  IN USER_INFORMATION_CLASS UserInformationClass,
253 
254 NTSTATUS
255 NTAPI
257  IN USER_INFORMATION_CLASS UserInformationClass,
259 
261 
263 {
268 
270 {
274 
276 {
280 
282 {
285 
287 {
291 
293 {
300 
302 {
318 
319 VOID
320 NTAPI
322  IN PLSAPR_POLICY_INFORMATION PolicyInformation);
323 
324 NTSTATUS
325 WINAPI
326 LsaIOpenPolicyTrusted(OUT LSAPR_HANDLE *PolicyHandle);
327 
328 NTSTATUS
329 WINAPI
330 LsarClose(IN OUT LSAPR_HANDLE *ObjectHandle);
331 
332 NTSTATUS
333 WINAPI
336  OUT PLUID Value);
337 
338 NTSTATUS
339 WINAPI
342  OUT PLSAPR_POLICY_INFORMATION *PolicyInformation);
343 
344 NTSTATUS
345 WINAPI
347  LPSTR hash);
348 
349 NTSTATUS
350 WINAPI
352  LPBYTE hash);
353 
354 NTSTATUS
355 WINAPI
356 SystemFunction012(const BYTE *in,
357  const BYTE *key,
358  LPBYTE out);
359 
360 /* EOF */
_In_opt_ ULONG _Out_ PULONG Value
Definition: rtlfuncs.h:2343
RPC_SHORT_BLOB LmOwfPassword
Definition: msv1_0.h:127
NTSTATUS WINAPI LsarClose(IN OUT LSAPR_HANDLE *ObjectHandle)
RPC_UNICODE_STRING UserName
Definition: msv1_0.h:117
RPC_UNICODE_STRING ReplicaAccountName
Definition: msv1_0.h:289
VOID NTAPI SamIFree_SAMPR_ULONG_ARRAY(PSAMPR_ULONG_ARRAY Ptr)
Definition: samsrv.c:515
SAMPR_USER_INTERNAL5_INFORMATION_NEW Internal5New
Definition: sam.idl:745
#define IN
Definition: typedefs.h:38
PWSTR Names[NAMES_COUNT]
SAMPR_USER_INTERNAL5_INFORMATION Internal5
Definition: sam.idl:743
SAMPR_USER_A_NAME_INFORMATION AccountName
Definition: sam.idl:727
NTSTATUS NTAPI SamIConnect(IN PSAMPR_SERVER_NAME ServerName, OUT SAMPR_HANDLE *ServerHandle, IN ACCESS_MASK DesiredAccess, IN BOOLEAN Trusted)
Definition: samsrv.c:64
RPC_UNICODE_STRING Name
Definition: msv1_0.h:294
NTSTATUS WINAPI LsaIOpenPolicyTrusted(OUT LSAPR_HANDLE *PolicyHandle)
Definition: policy.c:15
POLICY_LSA_SERVER_ROLE_INFO PolicyServerRoleInfo
Definition: msv1_0.h:308
RPC_UNICODE_STRING DomainName
Definition: msv1_0.h:277
struct _SAMPR_USER_INTERNAL2_INFORMATION SAMPR_USER_INTERNAL2_INFORMATION
RPC_UNICODE_STRING ReplicaSource
Definition: msv1_0.h:288
LSAPR_POLICY_DNS_DOMAIN_INFO PolicyDnsDomainInfo
Definition: msv1_0.h:314
RPC_UNICODE_STRING Parameters
Definition: msv1_0.h:126
wchar_t * PSAMPR_SERVER_NAME
Definition: msv1_0.h:58
struct _LSAPR_POLICY_PRIMARY_DOM_INFO LSAPR_POLICY_PRIMARY_DOM_INFO
struct _LSAPR_POLICY_PRIMARY_DOM_INFO * PLSAPR_POLICY_PRIMARY_DOM_INFO
RPC_UNICODE_STRING ProfilePath
Definition: msv1_0.h:122
OLD_LARGE_INTEGER LastLogoff
Definition: msv1_0.h:112
wchar_t * PSAMPR_SERVER_NAME
Definition: authpackage.c:112
_Must_inspect_result_ _In_ PFSRTL_PER_STREAM_CONTEXT Ptr
Definition: fsrtlfuncs.h:898
unsigned char PrivateDataSensitive
Definition: msv1_0.h:143
unsigned long UserId
Definition: msv1_0.h:131
LSAPR_POLICY_PRIMARY_DOM_INFO PolicyPrimaryDomInfo
Definition: msv1_0.h:305
LONG NTSTATUS
Definition: precomp.h:26
RPC_UNICODE_STRING DnsDomainName
Definition: msv1_0.h:295
PULONG Element
Definition: msv1_0.h:88
SAMPR_USER_PROFILE_INFORMATION Profile
Definition: sam.idl:732
LSAPR_POLICY_PD_ACCOUNT_INFO PolicyPdAccountInfo
Definition: msv1_0.h:306
OLD_LARGE_INTEGER PasswordCanChange
Definition: msv1_0.h:115
unsigned short UnitsPerWeek
Definition: msv1_0.h:93
RPC_UNICODE_STRING ScriptPath
Definition: msv1_0.h:121
RPC_UNICODE_STRING HomeDirectory
Definition: msv1_0.h:119
OLD_LARGE_INTEGER PasswordLastSet
Definition: msv1_0.h:113
_Inout_ __drv_aliasesMem PSLIST_ENTRY _Inout_ PSLIST_ENTRY _In_ ULONG Count
Definition: exfuncs.h:1015
unsigned short CodePage
Definition: msv1_0.h:139
unsigned short BadPasswordCount
Definition: msv1_0.h:105
unsigned short * Buffer
Definition: msv1_0.h:71
NTSTATUS NTAPI SamrChangePasswordUser(IN SAMPR_HANDLE UserHandle, IN unsigned char LmPresent, IN PENCRYPTED_LM_OWF_PASSWORD OldLmEncryptedWithNewLm, IN PENCRYPTED_LM_OWF_PASSWORD NewLmEncryptedWithOldLm, IN unsigned char NtPresent, IN PENCRYPTED_NT_OWF_PASSWORD OldNtEncryptedWithNewNt, IN PENCRYPTED_NT_OWF_PASSWORD NewNtEncryptedWithOldNt, IN unsigned char NtCrossEncryptionPresent, IN PENCRYPTED_NT_OWF_PASSWORD NewNtEncryptedWithNewLm, IN unsigned char LmCrossEncryptionPresent, IN PENCRYPTED_LM_OWF_PASSWORD NewLmEncryptedWithNewNt)
Definition: samrpc.c:8324
RPC_UNICODE_STRING Name
Definition: msv1_0.h:271
char * LPSTR
Definition: xmlstorage.h:182
LSAPR_POLICY_ACCOUNT_DOM_INFO PolicyAccountDomainInfo
Definition: msv1_0.h:307
NTSTATUS NTAPI SamrLookupDomainInSamServer(IN SAMPR_HANDLE ServerHandle, IN PRPC_UNICODE_STRING Name, OUT PRPC_SID *DomainId)
Definition: samrpc.c:497
SAMPR_USER_NAME_INFORMATION Name
Definition: sam.idl:726
struct _SAMPR_ULONG_ARRAY * PSAMPR_ULONG_ARRAY
SAMPR_USER_WORKSTATIONS_INFORMATION WorkStations
Definition: sam.idl:734
RPC_UNICODE_STRING PrivateData
Definition: msv1_0.h:129
RPC_UNICODE_STRING FullName
Definition: msv1_0.h:118
DWORD SubAuthority[]
Definition: msv1_0.h:48
SAMPR_USER_ALL_INFORMATION All
Definition: msv1_0.h:172
LSAPR_POLICY_DNS_DOMAIN_INFO PolicyDnsDomainInfoInt
Definition: msv1_0.h:315
SAMPR_USER_SET_PASSWORD_INFORMATION SetPassword
Definition: sam.idl:735
unsigned long Length
Definition: msv1_0.h:76
unsigned short MaximumLength
Definition: msv1_0.h:70
struct _ENCRYPTED_LM_OWF_PASSWORD ENCRYPTED_LM_OWF_PASSWORD
VOID NTAPI SamIFreeVoid(PVOID Ptr)
Definition: samsrv.c:146
unsigned char * LPBYTE
Definition: typedefs.h:52
struct _SAMPR_LOGON_HOURS * PSAMPR_LOGON_HOURS
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
SAMPR_SR_SECURITY_DESCRIPTOR SecurityDescriptor
Definition: msv1_0.h:130
struct _SAMPR_SR_SECURITY_DESCRIPTOR SAMPR_SR_SECURITY_DESCRIPTOR
POLICY_AUDIT_LOG_INFO PolicyAuditLogInfo
Definition: msv1_0.h:303
POLICY_AUDIT_FULL_QUERY_INFO PolicyAuditFullQueryInfo
Definition: msv1_0.h:313
struct _SAMPR_USER_INTERNAL2_INFORMATION * PSAMPR_USER_INTERNAL2_INFORMATION
PVOID LSAPR_HANDLE
Definition: msv1_0.h:260
SAMPR_USER_GENERAL_INFORMATION General
Definition: sam.idl:721
unsigned long WhichFields
Definition: msv1_0.h:134
VOID NTAPI LsaIFree_LSAPR_POLICY_INFORMATION(IN POLICY_INFORMATION_CLASS InformationClass, IN PLSAPR_POLICY_INFORMATION PolicyInformation)
Definition: lsasrv.c:51
unsigned char BOOLEAN
OLD_LARGE_INTEGER LastLogoff
Definition: msv1_0.h:104
unsigned char * SecurityDescriptor
Definition: msv1_0.h:77
RPC_UNICODE_STRING DnsForestName
Definition: msv1_0.h:296
struct _LSAPR_POLICY_ACCOUNT_DOM_INFO LSAPR_POLICY_ACCOUNT_DOM_INFO
struct _LSAPR_POLICY_AUDIT_EVENTS_INFO LSAPR_POLICY_AUDIT_EVENTS_INFO
void * SAMPR_HANDLE
Definition: msv1_0.h:59
Definition: bufpool.h:45
OLD_LARGE_INTEGER AccountExpires
Definition: msv1_0.h:114
OLD_LARGE_INTEGER LastLogon
Definition: msv1_0.h:111
const char * LPCSTR
Definition: xmlstorage.h:183
union _LSAPR_POLICY_INFORMATION * PLSAPR_POLICY_INFORMATION
struct _LSAPR_POLICY_AUDIT_EVENTS_INFO * PLSAPR_POLICY_AUDIT_EVENTS_INFO
SAMPR_USER_LOGON_INFORMATION Logon
Definition: sam.idl:723
union _LSAPR_POLICY_INFORMATION LSAPR_POLICY_INFORMATION
SAMPR_USER_ACCOUNT_INFORMATION Account
Definition: sam.idl:725
struct _ENCRYPTED_LM_OWF_PASSWORD * PENCRYPTED_NT_OWF_PASSWORD
SAMPR_USER_LOGON_HOURS_INFORMATION LogonHours
Definition: sam.idl:724
NTSTATUS NTAPI SamrOpenDomain(IN SAMPR_HANDLE ServerHandle, IN ACCESS_MASK DesiredAccess, IN PRPC_SID DomainId, OUT SAMPR_HANDLE *DomainHandle)
Definition: samrpc.c:824
struct _SAMPR_ULONG_ARRAY SAMPR_ULONG_ARRAY
OLD_LARGE_INTEGER PasswordMustChange
Definition: msv1_0.h:116
NTSTATUS WINAPI SystemFunction006(LPCSTR password, LPSTR hash)
Definition: crypt_lmhash.c:53
SAMPR_USER_INTERNAL1_INFORMATION Internal1
Definition: sam.idl:738
SAMPR_USER_PARAMETERS_INFORMATION Parameters
Definition: sam.idl:740
union _SAMPR_USER_INFO_BUFFER * PSAMPR_USER_INFO_BUFFER
OLD_LARGE_INTEGER LastLogon
Definition: msv1_0.h:103
NTSTATUS WINAPI LsarQueryInformationPolicy(IN LSAPR_HANDLE PolicyHandle, IN POLICY_INFORMATION_CLASS InformationClass, OUT PLSAPR_POLICY_INFORMATION *PolicyInformation)
unsigned short LogonCount
Definition: msv1_0.h:137
SAMPR_USER_SCRIPT_INFORMATION Script
Definition: sam.idl:731
POLICY_DEFAULT_QUOTA_INFO PolicyDefaultQuotaInfo
Definition: msv1_0.h:310
#define WINAPI
Definition: msvc.h:8
enum _POLICY_INFORMATION_CLASS POLICY_INFORMATION_CLASS
LSAPR_POLICY_ACCOUNT_DOM_INFO PolicyLocalAccountDomainInfo
Definition: msv1_0.h:316
struct _OLD_LARGE_INTEGER * POLD_LARGE_INTEGER
static FILE * out
Definition: regtests2xml.c:44
unsigned long DWORD
Definition: ntddk_ex.h:95
struct _SAMPR_USER_ALL_INFORMATION * PSAMPR_USER_ALL_INFORMATION
SAMPR_LOGON_HOURS LogonHours
Definition: msv1_0.h:135
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
struct RPC_SHORT_BLOB RPC_SHORT_BLOB
unsigned long PrimaryGroupId
Definition: msv1_0.h:132
USER_EXPIRES_INFORMATION Expires
Definition: sam.idl:737
unsigned char UCHAR
Definition: xmlstorage.h:181
SAMPR_USER_PREFERENCES_INFORMATION Preferences
Definition: sam.idl:722
struct _LSAPR_POLICY_DNS_DOMAIN_INFO * PLSAPR_POLICY_DNS_DOMAIN_INFO
T1_FIELD_DICT_PRIVATE password
Definition: t1tokens.h:64
USER_CONTROL_INFORMATION Control
Definition: sam.idl:736
RPC_UNICODE_STRING Name
Definition: msv1_0.h:283
unsigned char BYTE
Definition: mem.h:68
unsigned char LmPasswordPresent
Definition: msv1_0.h:140
unsigned short Length
Definition: msv1_0.h:53
RPC_UNICODE_STRING UserComment
Definition: msv1_0.h:125
struct _ENCRYPTED_LM_OWF_PASSWORD * PENCRYPTED_LM_OWF_PASSWORD
struct _SAMPR_USER_ALL_INFORMATION SAMPR_USER_ALL_INFORMATION
POLICY_AUDIT_FULL_SET_INFO PolicyAuditFullSetInfo
Definition: msv1_0.h:312
SAMPR_USER_F_NAME_INFORMATION FullName
Definition: sam.idl:728
POLICY_LSA_REPLICA_SRCE_INFO PolicyReplicaSourceInfo
Definition: msv1_0.h:309
unsigned char PasswordExpired
Definition: msv1_0.h:142
VOID NTAPI SamIFree_SAMPR_USER_INFO_BUFFER(PSAMPR_USER_INFO_BUFFER Ptr, USER_INFORMATION_CLASS InformationClass)
Definition: samsrv.c:531
RPC_UNICODE_STRING AdminComment
Definition: msv1_0.h:123
union _SAMPR_USER_INFO_BUFFER SAMPR_USER_INFO_BUFFER
POLICY_MODIFICATION_INFO PolicyModificationInfo
Definition: msv1_0.h:311
GLuint in
Definition: glext.h:9616
unsigned long UserAccountControl
Definition: msv1_0.h:133
unsigned long LowPart
Definition: msv1_0.h:63
NTSTATUS NTAPI SamrSetInformationUser(IN SAMPR_HANDLE UserHandle, IN USER_INFORMATION_CLASS UserInformationClass, IN PSAMPR_USER_INFO_BUFFER Buffer)
Definition: samrpc.c:8119
_In_ PIO_STACK_LOCATION _Inout_ PFILE_OBJECT _Inout_ PVCB _Outptr_result_maybenull_ PDCB _In_ PDCB _In_ PDIRENT _In_ ULONG _In_ ULONG _In_ PUNICODE_STRING _In_ PACCESS_MASK DesiredAccess
Definition: create.c:4157
SAMPR_USER_ADMIN_COMMENT_INFORMATION AdminComment
Definition: sam.idl:733
UCHAR SubAuthorityCount
Definition: msv1_0.h:46
unsigned int * PULONG
Definition: retypes.h:1
USER_PRIMARY_GROUP_INFORMATION PrimaryGroup
Definition: sam.idl:729
SID_IDENTIFIER_AUTHORITY IdentifierAuthority
Definition: msv1_0.h:47
NTSTATUS NTAPI SamrOpenUser(IN SAMPR_HANDLE DomainHandle, IN ACCESS_MASK DesiredAccess, IN ULONG UserId, OUT SAMPR_HANDLE *UserHandle)
SAMPR_USER_INTERNAL4_INFORMATION Internal4
Definition: sam.idl:742
struct _RPC_SID * PRPC_SID
RPC_SHORT_BLOB NtOwfPassword
Definition: msv1_0.h:128
struct _LSAPR_POLICY_PD_ACCOUNT_INFO * PLSAPR_POLICY_PD_ACCOUNT_INFO
struct _OLD_LARGE_INTEGER OLD_LARGE_INTEGER
UCHAR Revision
Definition: msv1_0.h:45
NTSTATUS WINAPI SystemFunction007(PUNICODE_STRING string, LPBYTE hash)
struct _ENCRYPTED_LM_OWF_PASSWORD ENCRYPTED_NT_OWF_PASSWORD
LSAPR_POLICY_AUDIT_EVENTS_INFO PolicyAuditEventsInfo
Definition: msv1_0.h:304
#define OUT
Definition: typedefs.h:39
SAMPR_USER_HOME_INFORMATION Home
Definition: sam.idl:730
struct _POLICY_LSA_REPLICA_SRCE_INFO POLICY_LSA_REPLICA_SRCE_INFO
unsigned short Length
Definition: msv1_0.h:69
struct _LSAPR_POLICY_DNS_DOMAIN_INFO LSAPR_POLICY_DNS_DOMAIN_INFO
struct _RPC_UNICODE_STRING * PRPC_UNICODE_STRING
struct _SAMPR_SR_SECURITY_DESCRIPTOR * PSAMPR_SR_SECURITY_DESCRIPTOR
struct _RPC_UNICODE_STRING RPC_UNICODE_STRING
unsigned int ULONG
Definition: retypes.h:1
unsigned short BadPasswordCount
Definition: msv1_0.h:136
SAMPR_USER_INTERNAL2_INFORMATION Internal2
Definition: msv1_0.h:168
NTSTATUS WINAPI LsarLookupPrivilegeValue(IN LSAPR_HANDLE PolicyHandle, IN PRPC_UNICODE_STRING Name, OUT PLUID Value)
struct RPC_SHORT_BLOB * PRPC_SHORT_BLOB
NTSTATUS WINAPI SystemFunction012(const BYTE *in, const BYTE *key, LPBYTE out)
Definition: sysfunc.c:353
NTSTATUS NTAPI SamrLookupNamesInDomain(IN SAMPR_HANDLE DomainHandle, IN ULONG Count, IN RPC_UNICODE_STRING Names[], OUT PSAMPR_ULONG_ARRAY RelativeIds, OUT PSAMPR_ULONG_ARRAY Use)
Definition: samrpc.c:3558
NTSTATUS NTAPI SamrQueryInformationUser(IN SAMPR_HANDLE UserHandle, IN USER_INFORMATION_CLASS UserInformationClass, OUT PSAMPR_USER_INFO_BUFFER *Buffer)
Definition: samrpc.c:7328
_In_ FILTER_INFORMATION_CLASS InformationClass
Definition: fltkernel.h:1714
unsigned char * LogonHours
Definition: msv1_0.h:94
Definition: _hash_fun.h:40
struct _LSAPR_POLICY_PD_ACCOUNT_INFO LSAPR_POLICY_PD_ACCOUNT_INFO
RPC_UNICODE_STRING HomeDirectoryDrive
Definition: msv1_0.h:120
SAMPR_USER_INTERNAL4_INFORMATION_NEW Internal4New
Definition: sam.idl:744
ULONG ACCESS_MASK
Definition: nt_native.h:40
struct _LSAPR_POLICY_ACCOUNT_DOM_INFO * PLSAPR_POLICY_ACCOUNT_DOM_INFO
struct _SAMPR_LOGON_HOURS SAMPR_LOGON_HOURS
struct _POLICY_LSA_REPLICA_SRCE_INFO * PPOLICY_LSA_REPLICA_SRCE_INFO
struct _RPC_SID RPC_SID
unsigned short MaximumLength
Definition: msv1_0.h:54
unsigned char NtPasswordPresent
Definition: msv1_0.h:141
RPC_UNICODE_STRING WorkStations
Definition: msv1_0.h:124
NTSTATUS NTAPI SamrCloseHandle(IN OUT SAMPR_HANDLE *SamHandle)
Definition: samrpc.c:160
enum _USER_INFORMATION_CLASS USER_INFORMATION_CLASS
Definition: path.c:42
wchar_t * Buffer
Definition: msv1_0.h:55
unsigned short CountryCode
Definition: msv1_0.h:138