[NETAPI32]
[reactos.git] / reactos / dll / win32 / netapi32 / netapi32.h
1
2 #ifndef __WINE_NETAPI32_H__
3 #define __WINE_NETAPI32_H__
4
5 #include <stdarg.h>
6
7 #include "ntstatus.h"
8 #define WIN32_NO_STATUS
9 #include "windef.h"
10 #include "winbase.h"
11 #include "winerror.h"
12 #include "lmcons.h"
13 #include "lmaccess.h"
14 #include "lmapibuf.h"
15 #include "lmbrowsr.h"
16 #include "lmerr.h"
17 #include "lmshare.h"
18 #include "lmuse.h"
19 #include "ntsecapi.h"
20 #include "dsrole.h"
21 #include "dsgetdc.h"
22 #include "wine/debug.h"
23 #include "wine/unicode.h"
24 #include "wine/list.h"
25
26 #define NTOS_MODE_USER
27 #include <ndk/rtlfuncs.h>
28 #include "ntsam.h"
29
30
31 NET_API_STATUS
32 WINAPI
33 NetpNtStatusToApiStatus(NTSTATUS Status);
34
35 /* misc.c */
36
37 NTSTATUS
38 GetAccountDomainSid(IN PUNICODE_STRING ServerName,
39 OUT PSID *AccountDomainSid);
40
41 NTSTATUS
42 GetBuiltinDomainSid(OUT PSID *BuiltinDomainSid);
43
44 NTSTATUS
45 OpenAccountDomain(IN SAM_HANDLE ServerHandle,
46 IN PUNICODE_STRING ServerName,
47 IN ULONG DesiredAccess,
48 OUT PSAM_HANDLE DomainHandle);
49
50 NTSTATUS
51 OpenBuiltinDomain(IN SAM_HANDLE ServerHandle,
52 IN ULONG DesiredAccess,
53 OUT SAM_HANDLE *DomainHandle);
54
55 #endif