Miles Sound System SDK 7.2a

AIL_file_async_read_callback

The function AIL_file_async_read_callback specifies a user-replaceable callback handler to initiate asynchronous reads from a file.

void * AILCALLBACK AIL_file_async_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 simply initiates an asynchronous read operation. It should return a structure that can be interpreted by the AIL_file_async_status_callback function to poll for completion and file-access errors. The composition of this structure can be application-specific, since it will not be accessed by Miles. Asynchronous reads are used on Wii, PS2 and Macintosh by default.


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

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