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.

27 lines
798 B

  1. #include <objbase.h>
  2. #include <assert.h>
  3. #include <shlwapi.h>
  4. #include <stdio.h>
  5. #include <shlobj.h>
  6. #include <shlobjp.h>
  7. #include <ccstock.h>
  8. #include <shlwapip.h>
  9. #include "tasks.h"
  10. HRESULT SHStringFromCLSIDA(LPSTR szCLSID, DWORD cSize, REFCLSID rclsid);
  11. #define SHStringFromCLSID(a,b,c) StringFromGUID2(c, a, b)
  12. UINT FindInDecoderList(ImageCodecInfo *pici, UINT cDecoders, LPCTSTR pszFile);
  13. HRESULT GetUIObjectFromPath(LPCTSTR pszFile, REFIID riid, void **ppv);
  14. BOOL FmtSupportsMultiPage(IShellImageData *pData, GUID *pguidFmt);
  15. // S_OK -> YES, S_FALSE -> NO, FAILED(hr) otherwise
  16. STDAPI IsSameFile(LPCTSTR pszFile1, LPCTSTR pszFile2);
  17. HRESULT SetWallpaperHelper(LPCWSTR szPath);
  18. // Image options
  19. #define IMAGEOPTION_CANROTATE 0x00000001
  20. #define IMAGEOPTION_CANWALLPAPER 0x00000002