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.

54 lines
1.4 KiB

  1. #undef WINVER
  2. #define WINVER 0x0400
  3. #define _SHELL32_
  4. #include <windows.h>
  5. #include <ole2.h>
  6. #include <shlguid.h>
  7. #include <shlwapi.h>
  8. #include <shlwapip.h>
  9. #include <shlobj.h>
  10. #include <shlobjp.h>
  11. #undef SHGetDataFromIDListW
  12. #undef SHCreatePropertyBag
  13. STDAPI SHGetDataFromIDListW(IShellFolder *psf, LPCITEMIDLIST pidl, int nFormat, void *pv, int cb);
  14. STDAPI SHCreatePropertyBag(REFIID riid, void **ppv);
  15. #include <objsafe.h>
  16. #include <mshtmdid.h>
  17. #include <mshtml.h>
  18. #include <comcat.h>
  19. #include <wininet.h>
  20. #include "debug.h"
  21. #include "ccstock.h"
  22. #include "cobjsafe.h"
  23. #include "cowsite.h"
  24. #include "dspsprt.h"
  25. #include "expdsprt.h"
  26. #include "resource.h"
  27. #include "sdspatch.h"
  28. #include "shdguid.h" // IID_IShellService
  29. #include "shellp.h"
  30. #include "shguidp.h" // IID_IExpDispSupport
  31. #include "ieguidp.h"
  32. #include "shsemip.h" // SHRunControlPanel
  33. #include "varutil.h"
  34. #define BOOL_PTR INT_PTR
  35. #define MAX_URL_STRING INTERNET_MAX_URL_LENGTH
  36. // these don't do anything since shell32 does not support unload, but use this
  37. // for code consistency with dlls that do support this
  38. #define DllAddRef()
  39. #define DllRelease()
  40. EXTERN_C BOOL g_bBiDiPlatform;
  41. STDAPI IsSafePage(IUnknown *punkSite);
  42. STDAPI_(LONG) GetOfflineShareStatus(LPCTSTR pcszPath);
  43. STDAPI_(BOOL) NT5_GlobalMemoryStatusEx(LPMEMORYSTATUSEX pmsex);