The WINTRUST_FILE_INFO structure is used when calling
WinVerifyTrust to verify an individual file.
Syntax
typedef struct WINTRUST_FILE_INFO_ {
DWORD cbStruct;
LPCWSTR pcwszFilePath;
HANDLE hFile;
GUID * pgKnownSubject;
}WINTRUST_FILE_INFO, *PWINTRUCT_FILE_INFO;
Members
- cbStruct
Count of bytes in this structure.
- pcwszFilePath
Full path and file name of the file to be verified.
- 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.
Requirements
| Minimum supported client | Windows 2000 Professional |
| Minimum supported server | Windows 2000 Server |
| Header | Wintrust.h |
Send comments about this topic to Microsoft
Build date: 11/16/2009