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.

26 lines
566 B

  1. #define DIWindow(lpDI) \
  2. (lpDI->hwndItem)
  3. #define DIIndex(lpDI) \
  4. (lpDI->itemID)
  5. #define DIEntire(lpDI) \
  6. (lpDI->itemAction & ODA_DRAWENTIRE)
  7. #define DIFocusChanged(lpDI) \
  8. (lpDI->itemAction & ODA_FOCUS)
  9. #define DISelectionChanged(lpDI) \
  10. (lpDI->itemAction & ODA_SELECT)
  11. #define DISelected(lpDI) \
  12. (lpDI->itemState & ODS_SELECTED)
  13. #define DIDisabled(lpDI) \
  14. (lpDI->itemState & ODS_DISABLED)
  15. #define DIFocus(lpDI) \
  16. (lpDI->itemState & ODS_FOCUS)
  17.