WIN_TRUST_SUBJECT_FILE

[New - Windows NT]

The WIN_TRUST_SUBJECT_FILE structure identifies a file to be evaluated in a WinVerifyTrust verification operation. For example, Microsoft's Software Publisher Trust Provider uses this structure for verification operations that require access to the software image to be evaluated.

typedef struct _WIN_TRUST_SUBJECT_FILE {

HANDLE hFile;

LPCWSTR lpPath;

} WIN_TRUST_SUBJECT_FILE, *LPWIN_TRUST_SUBJECT_FILE;

Members

hFile

Handle to the file to evaluate in a WinVerifyTrust operation. The handle must have FILE_READ_DATA access to the file.

lpPath

Pointer to a null-terminated Unicode string that specifies the complete path of the file to evaluate.

Remarks

The WIN_TRUST_SUBJECT_FILE structure is one of the structures defined for use by trust providers to specify information about a subject to be evaluated in a trust inquiry. Trust providers can use this structure, or define their own.

See Also

WIN_TRUST_ACTDATA_CONTEXT_WITH_SUBJECT, WinVerifyTrust