imgdb::util::EstimateRemainPictureNum Function

Syntax

int EstimateRemainPictureNum(
     Result * pResult = 0
);

Parameters

Name Description
out pResult The result (can be NULL).

Return Values

The remaining number of pictures.

Description

Estimates the remaining number of pictures that can be taken.

The estimate is based on the remaining free space. The maximum number of image and movie files that can be managed is 3000. When estimating, this maximum number is also considered.
This estimated number of pictures is the same for the Nintendo 3DS Camera.
If the SD card cannot be recognized, the function returns 0.

The estimated result is stored in pResult. When the estimated number of pictures is 1 or more, ResultSuccess is stored. When the estimated number of pictures is 0, one of the following reasons is stored as the result.
ResultErrorOverNumImages
ResultErrorFileOperationFailure
ResultErrorNotExistStorage
ResultErrorWriteProtect
ResultErrorInsufficientStorageSpace
ResultErrorReadOnlyDbFile
ResultErrorNotAvailableStorage
This function does not store ResultErrorOverNumDcf.


CONFIDENTIAL