nn::fs::DirectoryEntry

nn::fs::DirectoryEntry Structure

Syntax

struct DirectoryEntry
{
wchar_t entryName[MAX_FILE_PATH_LENGTH+1];
ShortName shortName;
nn::fs::Attributes attributes;
s64 entrySize;
};

Description

Structure representing a directory entry.

The entrySize member variable is only valid on SDMC archives. Note that it has an undefined value on any other type of archive.

Member Variables

entryName wchar_t Indicates the entry's long filename.
shortName ShortName Indicates the entry's short filename.
attributes nn::fs::Attributes Indicates the entry's attributes.
entrySize s64 If the entry is a file, this indicates the file size. If it is a directory, this is 0.

Revision History

2010/12/09
Initial version.

CONFIDENTIAL