DVDGetLength

Syntax

#include <revolution/dvd.h>

u32 DVDGetLength(DVDFileInfo* fileInfo);

Arguments

fileInfo File information of the file.

Return Values

The file size. As a return value, this size 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 a file opened with the DVDOpen function.

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

See Also

DVDOpen

Revision History

2006/03/01 Initial version.


CONFIDENTIAL