When X509_NAME is used for the lpszStructType with CryptEncodeObject, CryptEncodeObjectEx, CryptDecodeObject, or CryptDecodeObjectEx the following details apply.
N/A
pvStructInfo points to a CERT_NAME_INFO structure.
Used to decode/encode the Issuer and Subject members in a certificate (CERT_INFO structure).