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.

79 lines
1.7 KiB

  1. // stdafx.h : include file for standard system include files,
  2. // or project specific include files that are used frequently, but
  3. // are changed infrequently
  4. //
  5. #if !defined(AFX_STDAFX_H__66DB1632_C78B_11D2_AC41_00C04F79DDCA__INCLUDED_)
  6. #define AFX_STDAFX_H__66DB1632_C78B_11D2_AC41_00C04F79DDCA__INCLUDED_
  7. #if _MSC_VER > 1000
  8. #pragma once
  9. #endif // _MSC_VER > 1000
  10. #define STRICT
  11. #define _ATL_APARTMENT_THREADED
  12. #pragma warning (disable : 4514)
  13. #pragma warning (push, 3)
  14. //////////////////////////////////////////////
  15. // CRT and C++ headers
  16. #include <xstring>
  17. #include <list>
  18. #include <vector>
  19. #include <algorithm>
  20. using namespace std;
  21. //////////////////////////////////////////////
  22. // Windows and ATL headers
  23. #include <stdio.h>
  24. #include <nt.h>
  25. #include <ntrtl.h>
  26. #include <nturtl.h>
  27. #include <windows.h>
  28. #include <shellapi.h>
  29. #include <shlobj.h>
  30. #include <objsel.h>
  31. #include <atlbase.h>
  32. using namespace ATL;
  33. #include <iads.h>
  34. #include <adserr.h>
  35. #include <adshlp.h>
  36. #include <adsprop.h>
  37. #include <iadsp.h>
  38. #include <security.h>
  39. #include <seopaque.h>
  40. #include <accctrl.h>
  41. #include <setupapi.h> // to read the .INF file
  42. #pragma warning (pop)
  43. //
  44. //strsafe apis
  45. //
  46. #define STRSAFE_NO_DEPRECATE
  47. #include <strsafe.h>
  48. #include "debug.h"
  49. #include "resource.h"
  50. #define IID_PPV_ARG(Type, Expr) IID_##Type, \
  51. reinterpret_cast<void**>(static_cast<Type **>(Expr))
  52. #define ACLDIAG_LDAP L"LDAP"
  53. //{{AFX_INSERT_LOCATION}}
  54. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  55. #endif // !defined(AFX_STDAFX_H__66DB1632_C78B_11D2_AC41_00C04F79DDCA__INCLUDED_)