Opens a block file.
int32 OpenBlockFile (char *name, BlockFilePtr bf)
Opens the specified block file for reading. OpenBlockFile()
calls OpenDiskFile()
directly to open the specified file. OpenBlockFile()
calls DoIO()
directly to determine the status and size of the block file. OpenBlockFile()
will not return until DoIO()
completes.
name
Name of the block file.bf
Pointer to the block file.OpenDiskFile()
or CreateItem()
failed
See “Error Messages” in the 3DO Portfolio Reference Manual for a listing of error messages returned by OpenDiskFile()
or CreateItem()
.
BlockFile.h
DoIO OpenDiskFile