CryptSIPCreateIndirectData function (mssip.h)
The SIP_SUBJECTINFO structure, the digest algorithm, and an encoding attribute. The hash can be used as an indirect reference to the data.
BOOL CryptSIPCreateIndirectData( SIP_SUBJECTINFO *pSubjectInfo, DWORD *pcbIndirectData, SIP_INDIRECT_DATA *pIndirectData );
A pointer to a SIP_SUBJECTINFO structure that contains the subject to which the indirect data reference will point.
A pointer to a SIP_INDIRECT_DATA structure.
A pointer to a SIP_INDIRECT_DATA structure to receive the catalog item.
The return value is TRUE if the function succeeds; otherwise, FALSE.
If this function returns FALSE, additional error information can be obtained by calling the GetLastError function. GetLastError will return one of the following error codes.
||The file or data format is not correct for the specified subject interface package (SIP) type.|
||One or more of the parameters are not valid.|
||There was an error allocating memory.|
||The specified algorithm is not supported by the SIP.|
||The subject type is not recognized.|
If pcbIndirectData points to a DWORD and pIndirectData points to NULL, the size of the data will be returned in pcbIndirectData.
|Minimum supported client||Windows XP [desktop apps only]|
|Minimum supported server||Windows Server 2003 [desktop apps only]|