TransmitComplete


Prototype  
void TransmitComplete( void *Context,
                       ULONG Status );
Parameters  
Context
Application defined context
Status
Status of transmit completion
Return Value  
None  

Called by the API when a transmission has completed (one transmit frame or all asynchronous data). The client driver usually calls DiMgslTransmit in response to send more data if necessary.

If a client driver requires completion status for each transmission, then wait for the TransmitComplete callback after each call to DiMgslTransmit.

If completion status is not important or the client wants the API to buffer multiple frames for efficiency, call DiMgslTransmit until all data sent or STATUS_DEVICE_BUSY is returned. When the API can accept more data, the TransmitComplete callback is called.


Previous Contents Next