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.

83 lines
1.9 KiB

  1. #ifndef _pch_h
  2. #define _pch_h
  3. #if defined(UNICODE) && !defined(_UNICODE)
  4. #define _UNICODE
  5. #endif
  6. #include "windows.h"
  7. #include "windowsx.h"
  8. #include "commctrl.h"
  9. #include "shellapi.h"
  10. #include "shlobj.h"
  11. #include "shlobjp.h"
  12. #include "shlwapi.h"
  13. #include "shlwapip.h"
  14. #include "atlbase.h"
  15. #include "winnls.h"
  16. #include "wininet.h"
  17. #include "atlbase.h"
  18. #include "winuserp.h"
  19. #include "comctrlp.h"
  20. #include "shsemip.h"
  21. #include "shlapip.h"
  22. #include "shellp.h"
  23. #include "string.h"
  24. #include "tchar.h"
  25. #include "cfdefs.h"
  26. #include <urlmon.h>
  27. #include "activeds.h"
  28. #include "iadsp.h"
  29. #include "dsclient.h"
  30. #include "dsclintp.h"
  31. #include "common.h"
  32. #include "resource.h"
  33. #include "cache.h"
  34. #include "strings.h"
  35. // Magic debug flags
  36. #define TRACE_CORE 0x00000001
  37. #define TRACE_TABS 0x00000002
  38. #define TRACE_UI 0x00000004
  39. #define TRACE_CACHE 0x00000008
  40. #define TRACE_CM 0x00000010
  41. #define TRACE_ICON 0x00000020
  42. #define TRACE_BROWSE 0x00000040
  43. #define TRACE_VERBS 0x00000080
  44. #define TRACE_DOMAIN 0x00000100
  45. #define TRACE_DS 0x00000200
  46. #define TRACE_COMMONAPI 0x00010000
  47. #define TRACE_WAB 0x00020000
  48. #define TRACE_ALWAYS 0xffffffff // use with caution
  49. //
  50. // these are shared by all
  51. //
  52. extern HINSTANCE g_hInstance;
  53. #define GLOBAL_HINSTANCE (g_hInstance)
  54. STDAPI_(void) DllAddRef();
  55. STDAPI_(void) DllRelease();
  56. extern CLIPFORMAT g_cfDsObjectNames;
  57. extern CLIPFORMAT g_cfDsDispSpecOptions;
  58. //
  59. // class creation
  60. //
  61. STDAPI CDsPropertyPages_CreateInstance(IUnknown* punkOuter, IUnknown** ppunk, LPCOBJECTINFO poi);
  62. STDAPI CDsDomainTreeBrowser_CreateInstance(IUnknown* punkOuter, IUnknown** ppunk, LPCOBJECTINFO poi);
  63. STDAPI CDsVerbs_CreateInstance(IUnknown* punkOuter, IUnknown** ppunk, LPCOBJECTINFO poi);
  64. STDAPI CDsDisplaySpecifier_CreateInstance(IUnknown* punkOuter, IUnknown** ppunk, LPCOBJECTINFO poi);
  65. #endif