Questions about the data strucutre: FileInfo | developer.brewmp.com Questions about the data strucutre: FileInfo | developer.brewmp.com

Developer

Questions about the data strucutre: FileInfo

Forums:

Dear All:

The structure and define in AEEFile.h

#define MAX_FILE_NAME 64

typedef struct _FileInfo
{
FileAttrib attrib;
uint32 dwCreationDate;
uint32 dwSize;
char szName[MAX_FILE_NAME];
FileInfo;

Does it mean I can't get the correct file name of a file whose file name is longer than 64?

If I have the requirement supportting the file name logner than 64, do you have any suggestions about the issue?
Mapping of the file name? or Modifying the OEM layer? or ....
Any precious opinions are all welcomed.
Thanks in advanced.

Doer-Yang. 2007.10.17

For BREW3.x, If you want access file whose filename is longer than 64byte, Pls use IFILEMGR_GetFileInfoEx, IFILEMGR_EnumNextEx instead of IFILEMGR_GetFileInfo and IFILEMGR_EnumNext. These two APIs is for purpose of accessing long filename files(longer than 64) in BREW3.1, You should pass AEEFileInfoEx, in this struct, you can specify the filename's maxlength.

For BREW3.x, If you want access file whose filename is longer than 64byte, Pls use IFILEMGR_GetFileInfoEx, IFILEMGR_EnumNextEx instead of IFILEMGR_GetFileInfo and IFILEMGR_EnumNext. These two APIs is for purpose of accessing long filename files(longer than 64) in BREW3.1, You should pass AEEFileInfoEx, in this struct, you can specify the filename's maxlength.