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.

39 lines
871 B

  1. #include <windows.h> // basic windows functionality
  2. #include <windowsx.h>
  3. #include <commctrl.h> // ImageList, ListView
  4. #include <comctrlp.h>
  5. #include "cfdefs.h"
  6. #include <shfusion.h>
  7. #include <crtdbg.h> // _ASSERT macro
  8. #include <shlwapi.h>
  9. #include <shlwapip.h>
  10. #include <shellapi.h>
  11. #include <shlapip.h>
  12. #include <shlobj.h> // Needed by dsclient.h
  13. #include <shlobjp.h>
  14. #include <shlguid.h>
  15. #include <shlguidp.h>
  16. #include <shellp.h>
  17. #include <ccstock.h>
  18. #include <varutil.h>
  19. #include <debug.h>
  20. #include "resource.h"
  21. // keep the debug libraries working...
  22. #ifdef DBG
  23. #if !defined (DEBUG)
  24. #define DEBUG
  25. #endif
  26. #else
  27. #undef DEBUG
  28. #endif
  29. STDAPI_(void) DllAddRef(void);
  30. STDAPI_(void) DllRelease(void);
  31. EXTERN_C HINSTANCE g_hinst;
  32. #define RECTWIDTH(rc) ((rc).right - (rc).left)
  33. #define RECTHEIGHT(rc) ((rc).bottom - (rc).top)