windows-nt/Source/XPSP1/NT/sdktools/perfmon/owndraw.h

27 lines
566 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
#define DIWindow(lpDI) \
(lpDI->hwndItem)
#define DIIndex(lpDI) \
(lpDI->itemID)
#define DIEntire(lpDI) \
(lpDI->itemAction & ODA_DRAWENTIRE)
#define DIFocusChanged(lpDI) \
(lpDI->itemAction & ODA_FOCUS)
#define DISelectionChanged(lpDI) \
(lpDI->itemAction & ODA_SELECT)
#define DISelected(lpDI) \
(lpDI->itemState & ODS_SELECTED)
#define DIDisabled(lpDI) \
(lpDI->itemState & ODS_DISABLED)
#define DIFocus(lpDI) \
(lpDI->itemState & ODS_FOCUS)