When PKCS_CONTENT_INFO_SEQUENCE_OF_ANY is used for the lpszStructType with CryptEncodeObject, CryptEncodeObjectEx, CryptDecodeObject, or CryptDecodeObjectEx the following details apply.
N/A
pvStructInfo points to a CRYPT_CONTENT_INFO_SEQUENCE_OF_ANY structure.
For X509_ASN_ENCODING, encoded as a PKCS#7 ContentInfo structure wrapping a sequence of ANY. The value of the contentType field is pszObjId, while the content field is the following structure:
SequenceOfAny ::= SEQUENCE OF ANY
The CRYPT_DER_BLOBs points to the already encoded ANY content.