# TCLPictureInfo

## Definition

  `#include <twl/tcl.h>`

      typedef struct
      {
          s64 second;
          int favoriteOrder;

          union
          {
              u32 bitField;
              struct
              {
                  u32 validity     :  1;
                  u32 dirIdx       : 10;
                  u32 fileIdx      :  7;
                  u32 favoriteType :  2;
                  u32 imageType    :  2;
                  u32 keyType      :  2;
                  u32 defaultFrame :  1;
                  u32 reserved     :  7;
              };
          };
      } TCLPictureInfo;

## Description

This structure defines the image information stored in the management file.

The direct use of any of its members from an application is prohibited.

The details of each member are explained in the following list.

second | The time when the photo was taken, expressed in seconds.
favoriteOrder | The ordering of favorites when favorites are specified.
validity | Whether photo is valid or invalid.
dirIdx | The directory where the photo is stored. If set to 0, the photo is stored in `DCIM/100NIN02`.
fileIdx | The name of the photo file. If set to 0, the photo is stored in `HNI_0001.JPG`.
favoriteType | The favorite type specified by `TCLFavoriteType`.
keyType | The key type represented by `TCLKeyType`.
defaultFrame | This value is used internally.
reserved | A reserved region.

## See Also

`TCL_SearchNextPictureInfo`
`TCL_SearchPictureInfoByIndex`
`TCL_PrintPicturePath`

## Revision History

2008/10/07 Initial version.

CONFIDENTIAL