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.

85 lines
2.1 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 "winnls.h"
  15. #include "wininet.h"
  16. #include "winuserp.h"
  17. #include "comctrlp.h"
  18. #include "shsemip.h"
  19. #include "shlapip.h"
  20. #include "shellp.h"
  21. #include "string.h"
  22. #include "tchar.h"
  23. #include "cfdefs.h"
  24. #include <urlmon.h>
  25. #include "activeds.h"
  26. #include "iadsp.h"
  27. #include "ADsOpenFlags.h"
  28. #include "dsclient.h"
  29. #include "dsclintp.h"
  30. #include "common.h"
  31. #include "resource.h"
  32. #include "cache.h"
  33. #include "strings.h"
  34. // Magic debug flags
  35. #define TRACE_CORE 0x00000001
  36. #define TRACE_TABS 0x00000002
  37. #define TRACE_UI 0x00000004
  38. #define TRACE_CACHE 0x00000008
  39. #define TRACE_CM 0x00000010
  40. #define TRACE_ICON 0x00000020
  41. #define TRACE_BROWSE 0x00000040
  42. #define TRACE_VERBS 0x00000080
  43. #define TRACE_DOMAIN 0x00000100
  44. #define TRACE_DS 0x00000200
  45. #define TRACE_COMMONAPI 0x00010000
  46. #define TRACE_WAB 0x00020000
  47. #define TRACE_ALWAYS 0xffffffff // use with caution
  48. //
  49. // these are shared by all
  50. //
  51. extern HINSTANCE g_hInstance;
  52. #define GLOBAL_HINSTANCE (g_hInstance)
  53. STDAPI_(void) DllAddRef();
  54. STDAPI_(void) DllRelease();
  55. extern CLIPFORMAT g_cfDsObjectNames;
  56. extern CLIPFORMAT g_cfDsDispSpecOptions;
  57. //
  58. // class creation
  59. //
  60. STDAPI CDsPropertyPages_CreateInstance(IUnknown* punkOuter, IUnknown** ppunk, LPCOBJECTINFO poi);
  61. STDAPI CDsDomainTreeBrowser_CreateInstance(IUnknown* punkOuter, IUnknown** ppunk, LPCOBJECTINFO poi);
  62. STDAPI CDsVerbs_CreateInstance(IUnknown* punkOuter, IUnknown** ppunk, LPCOBJECTINFO poi);
  63. STDAPI CDsDisplaySpecifier_CreateInstance(IUnknown* punkOuter, IUnknown** ppunk, LPCOBJECTINFO poi);
  64. // ds.cpp
  65. HRESULT OpenDsObject(LPCWSTR pszPath, LPCWSTR pszUserName, LPCWSTR pszPassword, REFIID riid, void **ppv, BOOL fNotSecure, BOOL fNoSignSeal);
  66. #endif