When X509_BASIC_CONSTRAINTS2 or szOID_BASIC_CONSTRAINTS2 are used for the lpszStructType with CryptEncodeObject, CryptEncodeObjectEx, CryptDecodeObject, or CryptDecodeObjectEx the following details apply.
"2.5.29.19"
pvStructInfo points to a CERT_BASIC_CONSTRAINTS2_INFO structure. See it for additional details.