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 Indicates the entry's long filename.
shortName Indicates the entry's short filename.
attributes Indicates the entry's attributes.
entrySize 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