Platform SDK: WinTrust

WINTRUST_FILE_INFO

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;
} 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. This member is required.
hFile
File handle to the open file to be verified. This handle must be to a file that has at least read permission. This member is optional and may be set to NULL.

Requirements

  Windows NT/2000: Requires Windows NT 4.0 or later.
  Windows 95/98: Unsupported.
  Header: Declared in winbase.h.