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.

23 lines
685 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. UINT FindInDecoderList(ImageCodecInfo *pici, UINT cDecoders, LPCTSTR pszFile);
  11. HRESULT GetUIObjectFromPath(LPCTSTR pszFile, REFIID riid, void **ppv);
  12. BOOL FmtSupportsMultiPage(IShellImageData *pData, GUID *pguidFmt);
  13. // S_OK -> YES, S_FALSE -> NO, FAILED(hr) otherwise
  14. STDAPI IsSameFile(LPCTSTR pszFile1, LPCTSTR pszFile2);
  15. HRESULT SetWallpaperHelper(LPCWSTR szPath);
  16. // Image options
  17. #define IMAGEOPTION_CANROTATE 0x00000001
  18. #define IMAGEOPTION_CANWALLPAPER 0x00000002