RARHeaderDataEx structure

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];
};

Description

This structure is used by RARReadHeaderEx function.

Structure fields

  • CmtBuf

    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.

  • CmtBufSize

    Input parameter. Size of buffer for archive comments.

    File comment support is not implemented in current unrar.dll version.

    Set this field to 0.

  • CmtSize

    Output parameter. Size of file comment read into buffer.

    File comment support is not implemented in current unrar.dll version.

    Always equal to 0.

  • CmtState

    Output parameter. State of file comment.

    File comment support is not implemented in current unrar.dll version.

    Always equal to 0.

  • Reserved
    Reserved for future use. The entire array must be filled with zeroes.

    See also

    RARReadHeaderEx function.