CryptSIPRetrieveSubjectGuid function
The CryptSIPRetrieveSubjectGuid function retrieves a GUID based on the header information in a specified file. The GUID is used by the CryptSIPLoad function to load the subject interface package (SIP) implementation for the given file type.
Syntax
BOOL WINAPI CryptSIPRetrieveSubjectGuid( _In_ LPCWSTR FileName, _In_opt_ HANDLE hFileIn, _Out_ GUID *pgSubject );
Parameters
- FileName [in]
-
The name of the file.
- hFileIn [in, optional]
-
A handle to the file to check.
- pgSubject [out]
-
A GUID that identifies the subject.
Return value
If the function succeeds, the function returns TRUE.
If the function fails, it returns FALSE. For extended error information, call GetLastError.
Requirements
|
Minimum supported client |
Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|