CW_CIS
if (!(cw->state & CW_CIS)) {
cw->state |= (CW_CIS | CW_ALLOCATED);
(!(cwp->state & (CW_CIS | CW_MEM | CW_ALLOCATED)))