// expected and if the last TD in the transfer is the short one.
// We could assert here that this was an IN transfer.
int iLast = m_transfer.numTDsComplete - 1;
if ((m_usbEndpointDescriptor.bmAttributes &
USB_ENDPOINT_TYPE_MASK)==USB_ENDPOINT_TYPE_CONTROL)
iLast--;
DEBUGCHK( iLast >= 0 );
P_TD pTD = iLast ? &m_transfer.vaTDList.td[iLast] : m_pDummyTd.td;
if (pTD->paCurBuffer)