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 <ntstatus.h> 19 #include <ndk/rtlfuncs.h> 20 21 #include <wkssvc_s.h> 22 23 #include <wine/debug.h> 24 25 #define WKSTA_KEEPCONN_PARMNUM 13 26 #define WKSTA_MAXCMDS_PARMNUM 15 27 #define WKSTA_SESSTIMEOUT_PARMNUM 18 28 #define WKSTA_DORMANTFILELIMIT_PARMNUM 46 29 30 extern OSVERSIONINFOW VersionInfo; 31 extern HANDLE LsaHandle; 32 extern ULONG LsaAuthenticationPackage; 33 34 extern WKSTA_INFO_502 WkstaInfo502; 35 36 37 /* domain.c */ 38 39 NET_API_STATUS 40 NetpJoinWorkgroup( 41 _In_ LPCWSTR WorkgroupName); 42 43 NET_API_STATUS 44 NetpGetJoinInformation( 45 LPWSTR *NameBuffer, 46 PNETSETUP_JOIN_STATUS BufferType); 47 48 /* info */ 49 50 VOID 51 InitWorkstationInfo(VOID); 52 53 VOID 54 SaveWorkstationInfo( 55 _In_ DWORD Level); 56 57 /* rpcserver.c */ 58 59 DWORD 60 WINAPI 61 RpcThreadRoutine( 62 LPVOID lpParameter); 63 64 #endif /* _WKSSVC_PCH_ */ 65