Leaked source code of windows server 2003
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.

56 lines
1.0 KiB

  1. /*++
  2. Copyright (c) 1993 Microsoft Corporation
  3. Module Name:
  4. SASVC.H
  5. Abstract:
  6. Header file for Server Appliance service loader
  7. Author:
  8. Baogang Yao (byao) 2-3-99
  9. Revision History:
  10. --*/
  11. #ifndef _SASVC_INCLUDE_
  12. #define _SASVC_INCLUDE_
  13. //
  14. // Service DLLs loaded into sasvrldr.exe all export the same main
  15. // entry point. SASVCS_ENTRY_POINT defines that name.
  16. //
  17. // Note that SASVCS_ENTRY_POINT_STRING is always ANSI, because that's
  18. // what GetProcAddress takes.
  19. //
  20. #define SASVCS_ENTRY_POINT ServiceEntry
  21. #define SASVCS_ENTRY_POINT_STRING "ServiceEntry"
  22. //
  23. // Structure containing "global" data for the various DLLs.
  24. //
  25. typedef struct _SASVCS_GLOBAL_DATA
  26. {
  27. // global data items -- to be defined
  28. LPTSTR pszSvcName;
  29. } SASVCS_GLOBAL_DATA, *PSASVCS_GLOBAL_DATA;
  30. //
  31. // Service DLL entry point prototype.
  32. //
  33. typedef
  34. VOID
  35. (*PSASVCS_SERVICE_DLL_ENTRY) (
  36. IN DWORD argc,
  37. IN LPTSTR argv[],
  38. IN PSASVCS_GLOBAL_DATA pGlobalData
  39. );
  40. #endif // _SASVC_INCLUDE_