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.

65 lines
1.8 KiB

  1. /**********************************************************************/
  2. /** Microsoft Passport **/
  3. /** Copyright(c) Microsoft Corporation, 1999 - 2001 **/
  4. /**********************************************************************/
  5. /*
  6. stdafx.h
  7. FILE HISTORY:
  8. */
  9. // stdafx.h : include file for standard system include files,
  10. // or project specific include files that are used frequently,
  11. // but are changed infrequently
  12. #if !defined(AFX_STDAFX_H__41651BE6_A5C8_11D2_95DF_00C04F8E7A70__INCLUDED_)
  13. #define AFX_STDAFX_H__41651BE6_A5C8_11D2_95DF_00C04F8E7A70__INCLUDED_
  14. #if _MSC_VER > 1000
  15. #pragma once
  16. #endif // _MSC_VER > 1000
  17. #ifndef STRICT
  18. #define STRICT
  19. #endif
  20. #ifndef _WIN32_WINNT
  21. #define _WIN32_WINNT 0x0400
  22. #endif
  23. #define _ATL_FREE_THREADED
  24. #include <atlbase.h>
  25. //You may derive a class from CComModule and use it if you want to override
  26. //something, but do not change the name of _Module
  27. extern CComModule _Module;
  28. #include <atlcom.h>
  29. #include <comdef.h>
  30. #include "commd5.h"
  31. #include "BstrDebug.h"
  32. #include "PassportConfiguration.h"
  33. #include "Monitoring.h"
  34. #include "PassportTypes.h"
  35. #include "pptrace.h"
  36. // Useful macros
  37. #define PPF_CHAR(p) ((((LPCSTR )(p)) == NULL) ? ("<NULL>") : ((LPCSTR )(p)))
  38. #define PPF_WCHAR(p) ((((LPCWSTR )(p)) == NULL) ? (L"<NULL>") : ((LPCWSTR )(p)))
  39. extern CPassportConfiguration* g_config;
  40. // extern CProfileSchema* g_authSchema;
  41. HRESULT GetGlobalCOMmd5(IMD5 ** ppMD5);
  42. #define MEMBERNAME_INDEX 0
  43. #define LANGPREF_INDEX 8
  44. #include "asp.tlh"
  45. using namespace ATL;
  46. //{{AFX_INSERT_LOCATION}}
  47. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  48. #endif // !defined(AFX_STDAFX_H__41651BE6_A5C8_11D2_95DF_00C04F8E7A70__INCLUDED)