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.

47 lines
1.3 KiB

  1. // stdafx.h : include file for standard system include files,
  2. // or project specific include files that are used frequently,
  3. // but are changed infrequently
  4. #if !defined(AFX_STDAFX_H__1EF25351_278B_4522_843F_E46B08644BEB__INCLUDED_)
  5. #define AFX_STDAFX_H__1EF25351_278B_4522_843F_E46B08644BEB__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. #define STRICT
  10. #ifndef _WIN32_WINNT
  11. #define _WIN32_WINNT 0x0400
  12. #endif
  13. #define _ATL_APARTMENT_THREADED
  14. #undef _ATL_NO_DEBUG_CRT
  15. #include <atlbase.h>
  16. #include "myservice.h"
  17. extern CServiceModule _Module;
  18. #include <atlcom.h>
  19. #include <satrace.h>
  20. #define wm_SaKeyMessage WM_USER+1
  21. #define wm_SaLocMessage WM_USER+2
  22. #define wm_SaLEDMessage WM_USER+3
  23. #define wm_SaAlertMessage WM_USER+4
  24. typedef enum _sa_registrybitmap_state_
  25. {
  26. BITMAP_STARTING = 1,
  27. BITMAP_CHECKDISK = BITMAP_STARTING +1,
  28. BITMAP_READY = BITMAP_CHECKDISK +1,
  29. BITMAP_SHUTDOWN = BITMAP_READY +1,
  30. BITMAP_UPDATE = BITMAP_SHUTDOWN +1
  31. } SA_REGISTRYBITMAP_STATE;
  32. //{{AFX_INSERT_LOCATION}}
  33. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  34. #endif // !defined(AFX_STDAFX_H__1EF25351_278B_4522_843F_E46B08644BEB__INCLUDED)