WINTRUST_FILE_INFO structure (wintrust.h)
The WINTRUST_FILE_INFO structure is used when calling WinVerifyTrust to verify an individual file.
typedef struct WINTRUST_FILE_INFO_ {
DWORD cbStruct;
LPCWSTR pcwszFilePath;
HANDLE hFile;
GUID *pgKnownSubject;
} WINTRUST_FILE_INFO, *PWINTRUST_FILE_INFO;
cbStruct
Count of bytes in this structure.
pcwszFilePath
Full path and file name of the file to be verified. This parameter cannot be NULL.
hFile
Optional. File handle to the open file to be verified. This handle must be to a file that has at least read permission. This member can be set to NULL.
pgKnownSubject
Optional. Pointer to a GUID structure that specifies the subject type. This member can be set to NULL.
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | wintrust.h |