Historical Content Alert

This is a historical content for Windows NT 4.0 product and is presented for informative purposes only. All content in this directory is copyrighted and owned by Microsoft.


The Encode method performs ASN encoding on a CERT_SAMPLE_STRUCTURE1_INFO structure stored in the COM object and returns the ASN encoded structure.

[VB] BSTR Encode(void);
[JAVA] java.lang.String Encode(void);
[C++] HRESULT Encode(
  BSTR * pstrBinary  // out


[C++] pstrBinary
Points to the return value. See Return Values.

Return Values

Returns the ASN encoded CERT_SAMPLE_STRUCTURE1_INFO structure.

Share this article: