SetArchivePriority

nn::fs::SetArchivePriority Function

Syntax

Result SetArchivePriority(
     const char * archiveName,
     s32 priority
);

Parameters

Name Description
in archiveName The name of the archive whose process priority will be set.
in priority Process priority (specify nn::fs::PRIORITY_APP_REALTIME, nn::fs::PRIORITY_APP_NORMAL, or nn::fs::PRIORITY_APP_LOW).

Return Values

Returns the result of the operation.
Value Description
Result::IsSuccess Process was successful.
ResultNotFound The specified archive has not been mounted. You must not allow this error to occur in retail products.
A value other than the above. An application bug or some other unexpected error.

Description

Sets an archive's priority.

This function sets the process priority of operations on an archive. This function is not yet implemented. Do not use it.

Revision History

2011/10/27
Initial version.

CONFIDENTIAL