Reference

CryptSIPRetrieveSubjectGuid(3w)

NAME

CryptSIPRetrieveSubjectGuid (CRYPT32.@)

SYNOPSIS

BOOL CryptSIPRetrieveSubjectGuid
(
LPCWSTR FileName,
HANDLE hFileIn,
GUID* pgSubject
)

DESCRIPTION

Determine the right SIP GUID for the given file.

PARAMS

FileName [In] Filename.

hFileIn [In] Optional handle to the file.

pgSubject [Out] The SIP's GUID.

RETURNS

Success: TRUE. pgSubject contains the SIP GUID.

Failure: FALSE. (Look at GetLastError(3w)).

NOTES

On failure pgSubject will contain a NULL GUID. The handle is always preferred above the filename.

IMPLEMENTATION

Declared in "mssip.h".

Implemented in "dlls/crypt32/sip.c".

Debug channel "crypt".

History