When X509_KEY_ATTRIBUTES or szOID_KEY_ATTRIBUTES are used for the lpszStructType with CryptEncodeObject, CryptEncodeObjectEx, CryptDecodeObject, or CryptDecodeObjectEx the following details apply.
"2.5.29.2"
pvStructInfo points to a CERT_KEY_ATTRIBUTES_INFO structure.