MSIFILEHASHINFO structure (msi.h)
The MSIFILEHASHINFO structure contains the file hash information returned by MsiGetFileHash and used in the MsiFileHash table.
Syntax
typedef struct _MSIFILEHASHINFO {
ULONG dwFileHashInfoSize;
ULONG dwData[4];
} MSIFILEHASHINFO, *PMSIFILEHASHINFO;
Members
dwFileHashInfoSize
Specifies the size, in bytes, of this data structure. Set this member to sizeof(MSIFILEHASHINFO)
before calling the
MsiGetFileHash function.
dwData[4]
The entire 128-bit file hash is contained in four 32-bit fields. The first field corresponds to the HashPart1 column of the MsiHashFile table, the second field corresponds to the HashPart2 column, the third field corresponds to the HashPart3 column, and the fourth field corresponds to the HashPart4 column.
Remarks
The file hash entered into the fields of the MsiFileHash table must be obtained by calling MsiGetFileHash or the FileHash method. Do not use other methods to generate a file hash.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Installer 5.0 on Windows Server 2012, Windows 8, Windows Server 2008 R2 or Windows 7. Windows Installer 4.0 or Windows Installer 4.5 on Windows Server 2008 or Windows Vista. Windows Installer on Windows Server 2003 or Windows XP |
Header | msi.h |