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.

48 lines
2.1 KiB

  1. #ifndef _UTIL_H_
  2. #define _UTIL_H_
  3. int IsVK_TABCycler(MSG *pMsg);
  4. HRESULT SavePidlAsLink(IUnknown* punkSite, IStream *pstm, LPCITEMIDLIST pidl);
  5. HRESULT LoadPidlAsLink(IUnknown* punkSite, IStream *pstm, LPITEMIDLIST *ppidl);
  6. HRESULT QueryService_SID_IBandProxy(IUnknown * punkParent, REFIID riid, IBandProxy ** ppbp, void **ppvObj);
  7. HRESULT CreateIBandProxyAndSetSite(IUnknown * punkParent, REFIID riid, IBandProxy ** ppbp, void **ppvObj);
  8. BOOL IsBrowsableShellExt(LPCITEMIDLIST pidl);
  9. DWORD SHIsExplorerIniChange(WPARAM wParam, LPARAM lParam);
  10. void SHOutlineRect(HDC hdc, const RECT* prc, COLORREF cr);
  11. STDAPI SHNavigateToFavorite(IShellFolder* psf, LPCITEMIDLIST pidl, IUnknown* punkSite, DWORD dwFlags);
  12. STDAPI SHGetTopBrowserWindow(IUnknown* punk, HWND* phwnd);
  13. void OpenFolderPidl(LPCITEMIDLIST pidl);
  14. ULONG RegisterNotify(HWND hwnd, UINT nMsg, LPCITEMIDLIST pidl, DWORD dwEvents, UINT uFlags, BOOL fRecursive);
  15. BOOL GetInfoTipEx(IShellFolder* psf, DWORD dwFlags, LPCITEMIDLIST pidl, LPTSTR pszText, int cchTextMax);
  16. BOOL GetInfoTip(IShellFolder* psf, LPCITEMIDLIST pidl, LPTSTR pszText, int cchTextMax);
  17. STDAPI SHGetNavigateTarget(IShellFolder *psf, LPCITEMIDLIST pidl, LPITEMIDLIST *ppidl, DWORD *pdwAttribs);
  18. extern const VARIANT c_vaEmpty;
  19. #define PVAREMPTY ((VARIANT*)&c_vaEmpty)
  20. HRESULT Channels_OpenBrowser(IWebBrowser2 **ppwb, BOOL fInPlace);
  21. LRESULT TB_GetButtonSizeWithoutThemeBorder(HWND hwndTB, HTHEME hThemeParent);
  22. extern const GUID CGID_PrivCITCommands;
  23. // raymondc's futile attempt to reduce confusion
  24. //
  25. // EICH_KBLAH = a registry key named blah
  26. // EICH_SBLAH = a win.ini section named blah
  27. #define EICH_UNKNOWN 0xFFFFFFFF
  28. #define EICH_KINET 0x00000002
  29. #define EICH_KINETMAIN 0x00000004
  30. #define EICH_KWIN 0x00000008
  31. #define EICH_KWINPOLICY 0x00000010
  32. #define EICH_KWINEXPLORER 0x00000020
  33. #define EICH_SSAVETASKBAR 0x00000040
  34. #define EICH_SWINDOWMETRICS 0x00000080
  35. #define EICH_SPOLICY 0x00000100
  36. #define EICH_SSHELLMENU 0x00000200
  37. #define EICH_KWINEXPLSMICO 0x00000400
  38. #define EICH_SWINDOWS 0x00000800
  39. #endif // _UTIL_H_