When X509_CHOICE_OF_TIME is used for the lpszStructType with CryptEncodeObject, CryptEncodeObjectEx, CryptDecodeObject, or CryptDecodeObjectEx the following details apply.
N/A
pvStructInfo points to a FILETIME.
For X509_ASN_ENCODING, if the time is after 1950 and before 2050, it is UTC time encoded as a two-digit year precise to seconds. Otherwise, it is Generalized time encoded as a four-digit year precise to seconds.