[SAMLIB]
[reactos.git] / reactos / include / reactos / libs / samlib / samlib.h
1 /* $Id$
2 */
3 /*
4 * samlib.h
5 *
6 * Security Account Manager API, native interface
7 *
8 * This file is part of the ReactOS Operating System.
9 *
10 * Contributors:
11 * Created by Eric Kohl
12 *
13 * THIS SOFTWARE IS NOT COPYRIGHTED
14 *
15 * This source code is offered for use in the public domain. You may
16 * use, modify or distribute it freely.
17 *
18 * This code is distributed in the hope that it will be useful but
19 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
20 * DISCLAMED. This includes but is not limited to warranties of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
22 *
23 */
24
25 #ifndef __SAMLIB_H_INCLUDED__
26 #define __SAMLIB_H_INCLUDED__
27
28
29 BOOL WINAPI
30 SamInitializeSAM (VOID);
31
32 BOOL WINAPI
33 SamCreateUser (PWSTR UserName,
34 PWSTR UserPassword,
35 PSID UserSid);
36
37 BOOL WINAPI
38 SamCheckUserPassword (PWSTR UserName,
39 PWSTR UserPassword);
40
41 BOOL WINAPI
42 SamGetUserSid (PWSTR UserName,
43 PSID *Sid);
44
45 #endif /* __SAMLIB_H_INCLUDED__ */
46
47 /* EOF */