Miles Sound System SDK 7.2a

AIL_file_read_callback

The function AIL_file_read_callback specifies a user-replaceable callback handler to read from a file.

U32 AILCALLBACK AIL_file_read_callback(
  UINTa file_handle,
  void *buffer,
  U32 bytes
);

In Parameters

file_handle
specifies the file handle to read from.
bytes
specifies the number of bytes to read.

Out Parameters

buffer
specifies the address to read into.

Returns

This function should return the total number of bytes actually read (usually "bytes" unless a file I/O error or the end of file was encountered).


Group: Memory and File Services
Related Functions: AIL_file_close_callback, AIL_file_open_callback, AIL_file_seek_callback, AIL_set_file_callbacks
Related Basic Types: U32, UINTa, void

For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.