SourceFileInfo structure
Represents information about a source code file.
Syntax
typedef struct SourceFileInfo { BSTR fileName; UINT checksumByteCount; CheckSumAlgorithm checkSumAlgorithm; ULONGLONG checkSumFirstPart; ULONGLONG checkSumSecondPart; ULONGLONG checkSumThirdPart; ULONGLONG checkSumFourthPart; } SourceFileInfo;
Members
- fileName
-
A COM string comtaining the filepath of the associated source file.
- checksumByteCount
-
The number of bytes in the checksum. When checkSumAlgorithm is equal to CHECKSUMALGORITHM::md5, checkSumByteCount is 16. When checkSumAlgorithm is equal to CHECKSUMALGORITHM::sha1, checkSumByteCount is 20.
- checkSumAlgorithm
-
Specifies the algorithm used to generate the checksum of the file. Supported algorithms are MD5 and SHA1. For more information, see the CHECKSUMALGORITHM enum.
- checkSumFirstPart
-
The first 8 byte portion of the checksum.
- checkSumSecondPart
-
The second 8 byte portion of the checksum.
- checkSumThirdPart
-
The third 8 byte portion of the checksum.
- checkSumFourthPart
-
The fourth 8 byte portion of the checksum.
Requirements
|
Header |
|
|---|