Source code of Windows XP (NT5)
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.

113 lines
2.4 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows/NT **/
  3. /** Copyright(c) Microsoft Corporation, 1997 - 1999 **/
  4. /**********************************************************************/
  5. /*
  6. stdafx.h
  7. include file for standard system include files,
  8. or project specific include files that are used frequently,
  9. but are changed infrequently
  10. FILE HISTORY:
  11. */
  12. #include <afxwin.h>
  13. #include <afxdisp.h>
  14. #include <afxcmn.h>
  15. #include <afxdlgs.h>
  16. #include <afxtempl.h>
  17. #include <atlbase.h>
  18. //
  19. // You may derive a class from CComModule and use it if you want to override
  20. // something, but do not change the name of _Module
  21. //
  22. extern CComModule _Module;
  23. #include <atlcom.h>
  24. #include <mmc.h>
  25. //
  26. // Constants used in samples
  27. //
  28. const int NUM_FOLDERS = 2;
  29. const int MAX_COLUMNS = 1;
  30. //
  31. // Types of folders
  32. //
  33. enum FOLDER_TYPES
  34. {
  35. SAMPLE_ROOT,
  36. NONE
  37. };
  38. extern LPCWSTR g_lpszNullString;
  39. #include "rtrguid.h" // GUIDs/CLSIDs/etc...
  40. //
  41. // New Clipboard format that has the Type and Cookie
  42. //
  43. extern const wchar_t* SNAPIN_INTERNAL;
  44. //
  45. // NOTE: Right now all header files are included from here. It might be a good
  46. // idea to move the snapin specific header files out of the precompiled header.
  47. //
  48. #include "resource.h"
  49. #include "..\common\snapbase.h"
  50. #include "dbgutil.h"
  51. #include "errutil.h"
  52. #include "std.h"
  53. #include <lm.h>
  54. #include <shlobj.h>
  55. #include <dsclient.h>
  56. #include <advpub.h>
  57. #include <cmnquery.h>
  58. #include <dsquery.h>
  59. #include <routprot.h>
  60. #include "tfsint.h"
  61. #include "tfschar.h"
  62. #include "images.h"
  63. #include "tregkey.h" // registry routines
  64. #include "router.h" // router.idl
  65. #include "info.h" // IRouterInfo utilities
  66. #include "strings.h" // constant strings
  67. #include "infopriv.h" // misc. RouterInfo utilities
  68. #include "strmap.h" // XXXtoCString functions
  69. #include "format.h" // DisplayErrorMessage
  70. #include "reg.h" // registry utilities
  71. #include "util.h"
  72. #include "rtrutil.h"
  73. #include "service.h"
  74. #include "infobase.h"
  75. #include "mprapi.h"
  76. #include "mprerror.h"
  77. #include "..\common\commres.h"
  78. #include "..\tfscore\tfsres.h"
  79. #include "htmlhelp.h" // HTML help APIs
  80. #include "rtrres.h"
  81. #define VER_MAJOR_WIN2K 5
  82. #define VER_MINOR_WIN2K 0
  83. #define VER_BUILD_WIN2K 2195
  84. // Windows NT Bug 325173
  85. // Undefine or remove this line once we reopen for checkins
  86. // This is a fix for 325173
  87. #define SNAPIN_WRITES_TCPIP_REGISTRY