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.

67 lines
1.6 KiB

  1. #pragma once
  2. extern DWORD g_dwComCtlIEVersion;
  3. DWORD GetComCtlIEVersion(void);
  4. //
  5. // Wrapped comctrl functions.
  6. //
  7. #undef ListView_InsertColumn
  8. #define ListView_InsertColumn ListView_InsertColumnWrap
  9. LRESULT ListView_InsertColumnWrap(HWND hwnd, int nCol, LVCOLUMN* pCol);
  10. #undef ListView_SetExtendedListViewStyleEx
  11. #define ListView_SetExtendedListViewStyleEx ListView_SetExtendedListViewStyleExWrap
  12. void ListView_SetExtendedListViewStyleExWrap(HWND hwnd, DWORD dwMask, DWORD dwStyle);
  13. #undef ListView_InsertItem
  14. #define ListView_InsertItem ListView_InsertItemWrap
  15. int ListView_InsertItemWrap(HWND hwnd, const LVITEM* pItem);
  16. #undef ListView_SetItemText
  17. #define ListView_SetItemText ListView_SetItemTextWrap
  18. void ListView_SetItemTextWrap(HWND hwnd, int iItem, int iSubItem, LPWSTR pszText);
  19. #undef ListView_SetColumnWidth
  20. #define ListView_SetColumnWidth ListView_SetColumnWidthWrap
  21. BOOL ListView_SetColumnWidthWrap(HWND hwnd, int iCol, int cx);
  22. #undef ListView_GetItem
  23. #define ListView_GetItem ListView_GetItemWrap
  24. BOOL ListView_GetItemWrap(HWND hwnd, LVITEM* pItem);
  25. #undef ListView_GetCheckState
  26. #define ListView_GetCheckState ListView_GetCheckStateWrap
  27. BOOL ListView_GetCheckStateWrap(HWND hwnd, UINT iItem);
  28. #undef ListView_SetCheckState
  29. #define ListView_SetCheckState ListView_SetCheckStateWrap
  30. void ListView_SetCheckStateWrap(HWND hwnd, UINT iItem, BOOL fCheck);
  31. #undef ListView_GetItemText
  32. #define ListView_GetItemText ListView_GetItemTextWrap
  33. void ListView_GetItemTextWrap(HWND hwnd, int iItem, int iSubItem, WCHAR* pszText, int cchText);