#include #include #include #include #include #include #include #include #include "tasks.h" UINT FindInDecoderList(ImageCodecInfo *pici, UINT cDecoders, LPCTSTR pszFile); HRESULT GetUIObjectFromPath(LPCTSTR pszFile, REFIID riid, void **ppv); BOOL FmtSupportsMultiPage(IShellImageData *pData, GUID *pguidFmt); // S_OK -> YES, S_FALSE -> NO, FAILED(hr) otherwise STDAPI IsSameFile(LPCTSTR pszFile1, LPCTSTR pszFile2); HRESULT SetWallpaperHelper(LPCWSTR szPath); // Image options #define IMAGEOPTION_CANROTATE 0x00000001 #define IMAGEOPTION_CANWALLPAPER 0x00000002