nn::fs::hio::MountHioArchive Function

Syntax

Result MountHioArchive(
     const char * archiveName,
     const wchar_t * hostPath,
     size_t maxFile,
     size_t maxDirectory,
     void * workingMemory,
     size_t workingMemorySize
);

Arguments

Name Description
in archiveName Specifies the archive name.
in hostPath Specifies the root directory on the PC.
in maxFile Specifies the maximum number of files that can be opened simultaneously.
in maxDirectory Specifies the maximum number of directories that can be opened simultaneously.
in workingMemory Specifies the starting address of the memory region used for archive operations.
in workingMemorySize Specifies the size of the memory region used for archive operations.

Return Values

Returns the result of the operation.

Description

Mounts an hio archive.

An hio archive recognizes the contents of a specific directory (on the PC specified by the hostPath argument) as a single archive. This feature is provided only for debugging purposes.

To use this function, you must first link to libnn_fshio and call nn::hio::CTR::Initialize in advance to initialize the HIO library. Use DeviceMemory, which is contiguous memory, to initialize the HIO library.

Revision History

2010/08/16
Initial version.

CONFIDENTIAL