用driverwork生成的USB驱动,在通过批端点读写数据时,怎样实现超时退出?
PURB pUrb = m_Endpoint3IN.BuildBulkTransfer(
Mem, // Where is data coming from?
dwTotalSize, // How much data to read?
TRUE, // direction (TRUE = IN)
NULL, // Link to next URB
TRUE // Allow a short transfer
);