Compartilhar via


Application Session Data Transfer (Windows CE 5.0)

Send Feedback

Streamed data is transferred between the IEEE 1394 stack and applications by using application-supplied memory called buffers.

Passing buffers to the IEEE 1394 stack for processing is called attaching. Removing buffers from the IEEE 1394 stack, either due to their completion or due to the application desiring to abort the attempt, is called detaching. While a buffer is attached, it must not be freed. Each attached buffer must be detached. The process of buffer completing does not imply automatic detachment.

The process of attaching and detaching buffers carries slightly different meanings when referring to a transmit session instead of a receive session. These differences are shown in the following list.

  • For a transmit session, attaching a buffer is a request to transmit the data within the buffer. The buffer is considered complete once the data has been transmitted.
  • For a receive session, attaching a buffer is a request to fill the buffer with receive data. The buffer is considered complete once data has been written to it.

Knowing when a particular buffer has completed is provided by a final I/O controller command. It permits the application to query for buffers attached to a session that has completed.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.