Miles Sound System SDK 7.2a

RAD_IOPCancelAsyncRead

The function RAD_IOPCancelAsyncRead cancels a previous asynchronous file read.

S32 RAD_IOPCancelAsyncRead(
  RAD_IOP_ASYNC_READ_DATA const *open_data
);

In Parameters

open_data
Specifies the file read to cancel.

Returns

Returns how many async operations were cancelled (if zero, then that usually means it had already completed).

Discussion

This function allows you to cancel a previously queued file read request. Note that callbacks are still made when an open request is cancelled - make sure you check the status field.


Group: The RAD_IOP API for the Sony PS2
Related Functions: RAD_IOPCancelAllAsyncs, RAD_IOPCancelFileAsyncs, RAD_IOPCancelGroupOfAsyncs
Related Basic Types: S32
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.