When X509_AUTHORITY_KEY_ID or szOID_AUTHORITY_KEY_IDENTIFIER are used for the lpszStructType with CryptEncodeObject, CryptEncodeObjectEx, CryptDecodeObject, or CryptDecodeObjectEx the following details apply.
"2.5.29.1"
pvStructInfo points to a CERT_AUTHORITY_KEY_ID_INFO structure. See it for additional details.
The X509_AUTHORITY_KEY_ID has been superseded by X509_AUTHORITY_KEY_ID2. New certificate servers are implementing the latter.