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.

44 lines
1.3 KiB

  1. //
  2. // This header file contains symbols and typedefs needed by any
  3. // files that exist outside the deskhtm sub-directory.
  4. //
  5. #ifndef _DESKHTM_H_
  6. #define _DESKHTM_H_
  7. // deskcls.cpp
  8. STDAPI CDeskHtmlProp_RegUnReg(BOOL bReg);
  9. // dutil.cpp
  10. STDAPI_(BOOL) SetDesktopFlags(DWORD dwMask, DWORD dwNewFlags);
  11. STDAPI_(DWORD)GetDesktopFlags(void);
  12. STDAPI_(VOID) ActiveDesktop_ApplyChanges();
  13. #define COMPONENTS_DIRTY 0x00000001
  14. #define COMPONENTS_LOCKED 0x00000002
  15. #define COMPONENTS_ZOOMDIRTY 0x00000004
  16. STDAPI_(void) RefreshWebViewDesktop(void);
  17. BOOL PokeWebViewDesktop(DWORD dwFlags);
  18. void RemoveDefaultWallpaper(void);
  19. #define REFRESHACTIVEDESKTOP() (PokeWebViewDesktop(AD_APPLY_FORCE | AD_APPLY_HTMLGEN | AD_APPLY_REFRESH | AD_APPLY_DYNAMICREFRESH))
  20. void OnDesktopSysColorChange(void);
  21. void SetSafeMode(DWORD dwFlags);
  22. //
  23. // Desk Mover and Sizer stuff
  24. //
  25. EXTERN_C const CLSID CLSID_DeskMovr;
  26. EXTERN_C const IID IID_IDeskMovr;
  27. STDAPI_(BOOL) DeskMovr_DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID /*lpReserved*/);
  28. #define RETURN_ON_FAILURE(hr) if (FAILED(hr)) return hr
  29. #define RETURN_ON_NULLALLOC(ptr) if (!(ptr)) return E_OUTOFMEMORY
  30. #define CLEANUP_ON_FAILURE(hr) if (FAILED(hr)) goto CleanUp
  31. #endif // _DESKHTM_H_