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.

72 lines
1.7 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__1E7949FE_86F4_11D1_ADD8_0000F87734F0__INCLUDED_)
  5. #define AFX_STDAFX_H__1E7949FE_86F4_11D1_ADD8_0000F87734F0__INCLUDED_
  6. #if _MSC_VER >= 1000
  7. #pragma once
  8. #endif // _MSC_VER >= 1000
  9. #define STRICT
  10. #define _ATL_APARTMENT_THREADED
  11. #include <atlbase.h>
  12. //You may derive a class from CComModule and use it if you want to override
  13. //something, but do not change the name of _Module
  14. extern CComModule _Module;
  15. // Global Variables
  16. extern BOOL g_fRasIsReady;
  17. extern BOOL g_bProxy;
  18. #define IF_NTONLY if(VER_PLATFORM_WIN32_NT == g_dwPlatform) {
  19. #define ENDIF_NTONLY }
  20. extern DWORD g_dwPlatform;
  21. extern DWORD g_dwBuild;
  22. extern LPTSTR g_pszAppDir;
  23. // Includes
  24. #include <atlcom.h>
  25. #include <atlctl.h>
  26. #include <ccstock.h>
  27. #include <commctrl.h>
  28. #include <ras.h>
  29. #include <raserror.h>
  30. #include <tapi.h>
  31. #include "icwunicd.h" // UNICODE specific information.
  32. #include "resource.h"
  33. // Common global include for ICWHELP
  34. #include "icwglob.h"
  35. #include "import.h"
  36. #include "icwhelp.h"
  37. #include "cpicwhelp.h" // Connection point proxys
  38. #include "support.h"
  39. #include "mcreg.h" // abstract class for registry operations
  40. #ifdef UNICODE
  41. #undef A2BSTR
  42. #define A2BSTR(lpa) SysAllocString((OLECHAR FAR*)(lpa))
  43. #endif
  44. #ifdef UNICODE
  45. #undef OLE2A
  46. #define OLE2A(lpw) ((LPTSTR)lpw)
  47. #endif
  48. //{{AFX_INSERT_LOCATION}}
  49. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  50. #endif // !defined(AFX_STDAFX_H__1E7949FE_86F4_11D1_ADD8_0000F87734F0__INCLUDED)