CreateBlockFileIOReq

Creates block file I/O item.

Synopsis

Item CreateBlockFileIOReq (Item deviceItem, Item iodoneReplyPort)

Description

Creates the block file I/O item assigned to a message item used by the DataStreamer. CreateItemPool() calls CreateBlockFileIOReq() to create an ioReqItem for each message item in the message pool it creates.

Arguments

deviceItem
Item of the type of device to which the I/O request is addressed.
iodoneReplyPort
Message port to which the I/O completion message will be sent.

Return Value

Value
Error Condition
(The ioReqItem)
None
(Portfolio error code)
CreateItem() failed
See "Error Messages" in the 3DO Portfolio Reference Manual for a listing of error messages returned by CreateItem().

Associated Files

BlockFile.h

See Also

CreateItemPool