Cryptography Structures


WINTRUST_FILE_INFO Structure

The WINTRUST_FILE_INFO structure is used when calling WinVerifyTrust to verify an individual file.

Syntax

C++
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 clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWintrust.h

Send comments about this topic to Microsoft

Build date: 10/2/2009

Tags :


Page view tracker