# WaitReadDoneBlockFile

Waits for a block file read.

### Synopsis

`int32 WaitReadDoneBlockFile (Item ioreqItem)`

### Description

Waits for the specified block file read to be completed. `ReadDoneBlockFile()` calls `WaitIO()` directly to wait for the Portfolio I/O request to return.

### Arguments

`ioreqItem`
  Item of the I/O request.

### Return Value

Value
  Error Condition

0
  None

(Portfolio error code)
  `WaitIO()` failed

See "Error Messages" in the 3DO Portfolio Reference Manual for a listing of error messages returned by `WaitIO()`.

### Associated Files

BlockFile.h

### See Also

`AsynchReadBlockFile`, ReadDoneBlockFile