Miles Sound System SDK 7.2a

RAD_IOP_READCALLBACK

The function RAD_IOP_READCALLBACK points to a function that will be called when the async read completes.

void RAD_IOP_READCALLBACK(
  RAD_IOP_ASYNC_READ_DATA const *read_data
);

In Parameters

read_data
Specifies the pointer to the structure that you called RAD_IOPQueueAsyncReadAtTop or RAD_IOPQueueAsyncReadAtBottom with.

Discussion

This function will be called once the read is completed (at interrupt level). Be careful that the code you write in this function is interrupt safe.

This callback will be made for success or failure, so check the status field value to determine whether the read actually succeeded.


Group: The RAD_IOP API for the Sony PS2
Related Functions: RAD_IOPQueueAsyncReadAtBottom, RAD_IOPQueueAsyncReadAtTop
Related Basic Types: void
Related Structures: RAD_IOP_ASYNC_READ_DATA

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