Click to Rate and Give Feedback
MSDN
MSDN Library
Security
Cryptography
 WINTRUST_FILE_INFO Structure
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: 11/16/2009

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker