public static extern int CryptDecodeObjectEx( int dwCertEncodingType, [MarshalAs(UnmanagedType.LPStr)] string lpszStructType, IntPtr pbEncoded, int cbEncoded, int dwFlags, IntPtr pDecodePara, IntPtr pvStructInfo, ref int pcbStructInfo);