xref: /reactos/base/services/wkssvc/precomp.h (revision b09b5584)
1 #ifndef _WKSSVC_PCH_
2 #define _WKSSVC_PCH_
3 
4 #define WIN32_NO_STATUS
5 #define _INC_WINDOWS
6 #define COM_NO_WINDOWS_H
7 #include <stdarg.h>
8 #include <windef.h>
9 #include <winbase.h>
10 #include <winerror.h>
11 #include <winreg.h>
12 #include <winsvc.h>
13 #include <lmcons.h>
14 #include <lmerr.h>
15 #include <lmjoin.h>
16 #include <lmserver.h>
17 #include <ntsecapi.h>
18 #include <ntmsv1_0.h>
19 //#include <ntstatus.h>
20 #include <ndk/obfuncs.h>
21 #include <ndk/psfuncs.h>
22 #include <ndk/rtlfuncs.h>
23 #include <ndk/sefuncs.h>
24 
25 #include <wkssvc_s.h>
26 
27 #include <wine/debug.h>
28 
29 #define WKSTA_KEEPCONN_PARMNUM 13
30 #define WKSTA_MAXCMDS_PARMNUM 15
31 #define WKSTA_SESSTIMEOUT_PARMNUM 18
32 #define WKSTA_DORMANTFILELIMIT_PARMNUM 46
33 
34 extern OSVERSIONINFOW VersionInfo;
35 extern HANDLE LsaHandle;
36 extern ULONG LsaAuthenticationPackage;
37 
38 extern WKSTA_INFO_502 WkstaInfo502;
39 
40 
41 /* domain.c */
42 
43 NET_API_STATUS
44 NetpJoinWorkgroup(
45     _In_ LPCWSTR WorkgroupName);
46 
47 NET_API_STATUS
48 NetpGetJoinInformation(
49     LPWSTR *NameBuffer,
50     PNETSETUP_JOIN_STATUS BufferType);
51 
52 /* info */
53 
54 VOID
55 InitWorkstationInfo(VOID);
56 
57 VOID
58 SaveWorkstationInfo(
59     _In_ DWORD Level);
60 
61 /* rpcserver.c */
62 
63 DWORD
64 WINAPI
65 RpcThreadRoutine(
66     LPVOID lpParameter);
67 
68 #endif /* _WKSSVC_PCH_ */
69