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.

84 lines
1.9 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. // Enable for ATL tracing.
  5. /*
  6. #define _ATL_DEBUG_INTERFACES
  7. #define _ATL_DEBUG_REFCOUNT
  8. #define ATL_TRACE_CATEGORY 0xFFFFFFFF
  9. #define ATL_TRACE_LEVEL 4
  10. #define DEBUG
  11. */
  12. #if !defined(AFX_STDAFX_H__7A2C5023_D9D1_4F82_A665_FEA3E9E7DFF9__INCLUDED_)
  13. #define AFX_STDAFX_H__7A2C5023_D9D1_4F82_A665_FEA3E9E7DFF9__INCLUDED_
  14. #include <nt.h>
  15. #include <ntrtl.h>
  16. #include <nturtl.h>
  17. #include <ntddkbd.h>
  18. #include <ntddmou.h>
  19. #include <windows.h>
  20. // #include <winbase.h>
  21. #include <winsta.h>
  22. #include <tdi.h>
  23. #if _MSC_VER > 1000
  24. #pragma once
  25. #endif // _MSC_VER > 1000
  26. #ifndef STRICT
  27. #define STRICT
  28. #endif
  29. #ifndef _WIN32_WINNT
  30. #define _WIN32_WINNT 0x0400
  31. #endif
  32. #define _ATL_APARTMENT_THREADED
  33. #include <atlbase.h>
  34. //You may derive a class from CComModule and use it if you want to override
  35. //something, but do not change the name of _Module
  36. class CExeModule : public CComModule
  37. {
  38. public:
  39. LONG Lock();
  40. LONG Unlock();
  41. DWORD dwThreadID;
  42. HANDLE hEventShutdown;
  43. void MonitorShutdown();
  44. bool StartMonitor();
  45. bool bActivity;
  46. };
  47. extern CExeModule _Module;
  48. #include <atlcom.h>
  49. #define INFINITE_TICKET_EXPIRATION 0xFFFFFFFF
  50. //
  51. // Notification message to expire ticket
  52. // WPARAM : Not use
  53. // LPARAM : Pointer to ticket object to be expired
  54. //
  55. #define WM_TICKETEXPIRED (WM_APP + 1)
  56. //
  57. // Notification message for disable RA notification
  58. // WPARAM : Not use
  59. // LPARAM : Pointer to ticket object to be expired
  60. //
  61. #define WM_RADISABLED (WM_APP + 2)
  62. //{{AFX_INSERT_LOCATION}}
  63. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  64. #endif // !defined(AFX_STDAFX_H__7A2C5023_D9D1_4F82_A665_FEA3E9E7DFF9__INCLUDED)