struct RARHeaderDataEx
{
char ArcName[1024];
wchar_t ArcNameW[1024];
char FileName[1024];
wchar_t FileNameW[1024];
unsigned int Flags;
unsigned int PackSize;
unsigned int PackSizeHigh;
unsigned int UnpSize;
unsigned int UnpSizeHigh;
unsigned int HostOS;
unsigned int FileCRC;
unsigned int FileTime;
unsigned int UnpVer;
unsigned int Method;
unsigned int FileAttr;
char *CmtBuf;
unsigned int CmtBufSize;
unsigned int CmtSize;
unsigned int CmtState;
unsigned int Reserved[1024];
};
This structure is used by RARReadHeaderEx function.
Output parameter, which contains a zero terminated string of the current archive name. May be used to determine the current volume name.
Output parameter, which contains a zero terminated string of the current archive name in Unicode. May be used to determine the current volume name.
Output parameter, which contains a zero terminated string of the file name in OEM (DOS) encoding.
Output parameter, which contains a zero terminated string of the file name in Unicode.
Output parameter which contains file flags:
0x01 File continued from previous volume 0x02 File continued on next volume 0x04 File encrypted with password 0x08 File comment present 0x10 Previous files data is used (solid flag) Bits 7 6 5 (0xE0 mask)
0 0 0 (0x00) Dictionary size 64 KB 0 0 1 (0x20) Dictionary size 128 KB 0 1 0 (0x40) Dictionary size 256 KB 0 1 1 (0x60) Dictionary size 512 KB 1 0 0 (0x80) Dictionary size 1024 KB 1 0 1 (0xA0) Dictionary size 2048 KB 1 1 0 (0xA0) Dictionary size 4096 KB 1 1 1 (0xE0) Directory record Other bits are reserved.
Output parameter. Lower 32 bits of packed file size. If file is split between volumes, it contains the lower 32 bits of file part size.
Output parameter. Higher 32 bits of packed file size. If file is split between volumes, it contains the higher 32 bits of file part size.
Output parameter. Lower 32 bits of unpacked file size.
Output parameter. Higher 32 bits of unpacked file size.
Output parameter. Operating system used to create the archive.
0 MS DOS 1 OS/2 2 Windows 3 Unix
Output parameter, which contains unpacked file CRC32. In case of file parts split between volumes only the last part contains the correct CRC and it is accessible only in RAR_OM_LIST_INCSPLIT listing mode.
Output parameter. Contains the file modification date and time in standard MS DOS format.
Output parameter. RAR version needed to extract file. It is encoded as 10 * Major version + minor version.
Output parameter. Packing method.
0x30 Storing 0x31 Fastest compression 0x32 Fast compression 0x33 Normal compression 0x34 Good compression 0x35 Best compression
Output parameter. File attributes.
Input parameter. Points to the buffer for file comment.
File comment support is not implemented in current unrar.dll version. Appropriate parameters are preserved only for compatibility with older versions.
Set this field to NULL.
Input parameter. Size of buffer for archive comments.
File comment support is not implemented in current unrar.dll version.
Set this field to 0.
Output parameter. Size of file comment read into buffer.
File comment support is not implemented in current unrar.dll version.
Always equal to 0.
Output parameter. State of file comment.
File comment support is not implemented in current unrar.dll version.
Always equal to 0.
Reserved for future use. The entire array must be filled with zeroes.
RARReadHeaderEx function.