Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

117 lines
1.9 KiB

  1. #if 0
  2. /*++
  3. Copyright (c) 1991 Microsoft Corporation
  4. Module Name:
  5. SsData.h
  6. Abstract:
  7. This module contains declarations for global data used by the server
  8. service.
  9. Author:
  10. David Treadwell (davidtr) 7-Mar-1991
  11. Revision History:
  12. --*/
  13. #ifndef _SSDATA_
  14. #define _SSDATA_
  15. #include <nturtl.h>
  16. #include <winbase.h>
  17. #include <winreg.h>
  18. //
  19. // Global server service data.
  20. //
  21. extern SERVER_SERVICE_DATA SsData;
  22. //
  23. // Manifests that determine field type.
  24. //
  25. #define BOOLEAN_FIELD 0
  26. #define DWORD_FIELD 1
  27. #define LPSTR_FIELD 2
  28. //
  29. // Manifests that determine when a field may be set.
  30. //
  31. #define NOT_SETTABLE 0
  32. #define SET_ON_STARTUP 1
  33. #define ALWAYS_SETTABLE 2
  34. //
  35. // Data for all server info fields.
  36. //
  37. extern FIELD_DESCRIPTOR SsServerInfoFields[];
  38. //
  39. // Resource for synchronizing access to server info.
  40. //
  41. extern RTL_RESOURCE SsServerInfoResource;
  42. extern BOOL SsServerInfoResourceInitialized;
  43. //
  44. // Boolean indicating whether the server service is initialized.
  45. //
  46. extern BOOL SsInitialized;
  47. //
  48. // Boolean indicating whether the kernel-mode server FSP has been
  49. // started.
  50. //
  51. extern BOOL SsServerFspStarted;
  52. //
  53. // Event used for synchronizing server service termination.
  54. //
  55. extern HANDLE SsTerminationEvent;
  56. //
  57. // Event used for forcing the server to announce itself on the network from
  58. // remote clients.
  59. //
  60. extern HANDLE SsAnnouncementEvent;
  61. //
  62. // Event used for forcing the server to announce itself on the network from
  63. // inside the server service.
  64. //
  65. extern HANDLE SsStatusChangedEvent;
  66. //
  67. // Event used to detect domain name changes
  68. //
  69. extern HANDLE SsDomainNameChangeEvent;
  70. //
  71. // Name of this computer in OEM format.
  72. //
  73. extern CHAR SsServerTransportAddress[ MAX_PATH ];
  74. extern ULONG SsServerTransportAddressLength;
  75. //
  76. // List containing transport specific service names and bits
  77. //
  78. extern PNAME_LIST_ENTRY SsServerNameList;
  79. #endif // ndef _SSDATA_
  80. #endif