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.

55 lines
1.5 KiB

  1. #if !defined(AFX_STDAFX_H__A9DB83DB_A9FD_11D0_BFD1_444553540000__INCLUDED_)
  2. #define AFX_STDAFX_H__A9DB83DB_A9FD_11D0_BFD1_444553540000__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. #ifndef WIN32_LEAN_AND_MEAN
  7. #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
  8. #endif
  9. #ifdef _WIN32_WINNT
  10. #undef _WIN32_WINNT
  11. #endif
  12. #define _WIN32_WINNT 0x0500
  13. #include <crtdbg.h>
  14. #include <windows.h>
  15. #include <wchar.h>
  16. #include <tchar.h>
  17. #include <initguid.h>
  18. #include <comdef.h>
  19. #include <setupapi.h> // Setup API
  20. #include <mstask.h> // ITaskScheduler definitions
  21. #include <lm.h>
  22. #include <prsht.h>
  23. #include <iadmw.h> // IMSAdminBase*
  24. #include <stdio.h>
  25. #include <Shlwapi.h>
  26. #include <shellapi.h>
  27. #include <sddl.h>
  28. #include <aclapi.h>
  29. // Libraries in use
  30. #pragma comment( lib, "setupapi.lib" )
  31. #pragma comment( lib, "netapi32.lib" )
  32. #pragma comment( lib, "comctl32.lib" )
  33. #pragma comment( lib, "Shlwapi.lib" )
  34. #include "Macros.h"
  35. // Smart pointers
  36. _COM_SMARTPTR_TYPEDEF( ITaskScheduler, IID_ITaskScheduler );
  37. _COM_SMARTPTR_TYPEDEF( IScheduledWorkItem, IID_IScheduledWorkItem );
  38. _COM_SMARTPTR_TYPEDEF( ITask, IID_ITask );
  39. _COM_SMARTPTR_TYPEDEF( ITaskTrigger, IID_ITaskTrigger );
  40. //{{AFX_INSERT_LOCATION}}
  41. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  42. #endif // !defined(AFX_STDAFX_H__A9DB83DB_A9FD_11D0_BFD1_444553540000__INCLUDED_)