
    ListView_SetItemState MACRO handl,i,data,mask
      IFNDEF @lvi@
      .data?
        @lvi@ LV_ITEM <>
      .code
      ENDIF
      mov eax, mask
      mov @lvi@.mask, eax
      mov eax, data
      mov @lvi@.data, eax
      invoke SendMessage,handl,LVM_SETITEMSTATE,i,ADDR @lvi@
    ENDM
