CryptSIPRetrieveSubjectGuid.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

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

Defined in "mssip.h".

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

Debug channel "crypt".