Miles Sound System SDK 7.2a

RAD_IOPCancelFileAsyncs

The function RAD_IOPCancelFileAsyncs cancels all previous asynchronous file reads for a specified file handle.

S32 RAD_IOPCancelFileAsyncs(
  S32 file_handle
);

In Parameters

file_handle
Specifies the file handle to cancel the reads for.

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 all previously queued file read requests for a specific file handle. 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_IOPCancelAsyncRead, RAD_IOPCancelGroupOfAsyncs
Related Basic Types: S32

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