DVDGetTransferredSize

Syntax

#include <revolution/dvd.h>

s32 DVDGetTransferredSize(DVDFileInfo* fileinfo);

Arguments

fileinfo Read request for the information you want to know.

Return Values

Transfer size.

Description

The DVDGetTransferredSize function returns the number of bytes already transferred for the read request specified by fileinfo.

You can issue this function to a read request that is not in a busy state. For example, if a read request that is still in the DVD queue is issued, zero is returned. If the read command is already completed, the read length is returned. If the read command is canceled, the function returns the length that has already been read (that is, this portion of the data can be used).

See Also

DVDReadAsync

Revision History

2006/03/01 Initial version.


CONFIDENTIAL