[NTOSKRNL] Drop the useless Timestamp field
[reactos.git] / dll / win32 / netapi32 / netapi32.h
1 #ifndef __WINE_NETAPI32_H__
2 #define __WINE_NETAPI32_H__
3
4 #include <wine/config.h>
5
6 #include <limits.h>
7 #include <stdarg.h>
8
9 #define WIN32_NO_STATUS
10 #define _INC_WINDOWS
11 #define COM_NO_WINDOWS_H
12
13 #include <windef.h>
14 #include <winbase.h>
15 #include <lmaccess.h>
16 #include <lmapibuf.h>
17 #include <lmerr.h>
18 #include <ntsecapi.h>
19 #include <nb30.h>
20 #include <iphlpapi.h>
21
22 #include <wine/debug.h>
23 #include <wine/unicode.h>
24
25 #define NTOS_MODE_USER
26 #include <ndk/rtlfuncs.h>
27
28 #include <ntsam.h>
29
30 #include "nbnamecache.h"
31 #include "netbios.h"
32
33 extern LIST_ENTRY g_EnumContextListHead;
34 extern CRITICAL_SECTION g_EnumContextListLock;
35
36 NET_API_STATUS
37 WINAPI
38 NetpNtStatusToApiStatus(NTSTATUS Status);
39
40 /* misc.c */
41
42 NTSTATUS
43 GetAccountDomainSid(IN PUNICODE_STRING ServerName,
44 OUT PSID *AccountDomainSid);
45
46 NTSTATUS
47 GetBuiltinDomainSid(OUT PSID *BuiltinDomainSid);
48
49 NTSTATUS
50 OpenAccountDomain(IN SAM_HANDLE ServerHandle,
51 IN PUNICODE_STRING ServerName,
52 IN ULONG DesiredAccess,
53 OUT PSAM_HANDLE DomainHandle);
54
55 NTSTATUS
56 OpenBuiltinDomain(IN SAM_HANDLE ServerHandle,
57 IN ULONG DesiredAccess,
58 OUT SAM_HANDLE *DomainHandle);
59
60 NET_API_STATUS
61 BuildSidFromSidAndRid(IN PSID SrcSid,
62 IN ULONG RelativeId,
63 OUT PSID *DestSid);
64
65 VOID
66 CopySidFromSidAndRid(
67 _Out_ PSID DstSid,
68 _In_ PSID SrcSid,
69 _In_ ULONG RelativeId);
70
71 /* wksta.c */
72
73 BOOL
74 NETAPI_IsLocalComputer(LMCSTR ServerName);
75
76 #endif /* __WINE_NETAPI32_H__ */