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. If the hFileIn parameter is set, the value in this parameter is ignored.
- hFileIn [in, optional]
-
A handle to the file to check. This parameter must contain a valid handle if the FileName parameter is NULL.
- 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 |
|
Send comments about this topic to Microsoft
Build date: 10/26/2012