17 Reading and Writing File Data

17 Q3RawData_Read

You can use the Q3RawData_Read function to read raw data from a file object.

TQ3Status Q3RawData_Read (
unsigned char *data, 
unsigned long size, 
TQ3FileObject file);
data On entry, a pointer to a buffer whose length is of the specified size. On exit, a pointer to the raw data read from the specified file object.
size On entry, the number of bytes of raw data to be read from the specified file object into the specified buffer. On exit, the number of bytes actually copied into the specified buffer.
file A file object.

DESCRIPTION


The Q3RawData_Read function returns, in the data parameter, a pointer to the next size bytes of raw data in the file object specified by the file parameter.

DESCRIPTION

3D Graphics Programming with QuickDraw 3D - 17 OCT 1995

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker