DVDGetLength

C Specification

#include <revolution/dvd.h>
u32 DVDGetLength(DVDFileInfo* fileInfo);

Arguments

fileInfo File information of the file.

Return Values

The file size. This value may not always be a multiple of 32. For this reason, when preparing buffers for reading files, this value must be rounded up to a multiple of 32.

Description

Gets in advance the size of the file opened with the DVDOpen function.

This function is actually a macro defined in dvd.h.

See Also

Revision History

03/01/2006 Initial version.