Namespace: FileNet.Api.Util
Assembly: FileNet.Api (in filenet.api.dll)

Syntax

Visual Basic (Declaration)
<DllImportAttribute("crypt32.dll", EntryPoint := "CryptDecodeObject", CharSet := CharSet.None, ExactSpelling := False, SetLastError := False, PreserveSig := True, CallingConvention := CallingConvention.Winapi, BestFitMapping := False, ThrowOnUnmappableChar := False), _
 PreserveSigAttribute>

Public Shared Function CryptDecodeObject( _ 
   ByVal CertEncodingType As UInt32,  _ 
   ByVal lpszStructType As UInt32,  _ 
   ByVal pbEncoded As Byte(),  _ 
   ByVal cbEncoded As UInt32,  _ 
   ByVal flags As UInt32,  _ 
   ByVal pvStructInfo As IntPtr,  _ 
   ByRef cbStructInfo As UInt32 _ 
) As Boolean
C#
[DllImportAttribute("crypt32.dll", EntryPoint = "CryptDecodeObject", CharSet = CharSet.None, ExactSpelling = False, SetLastError = False, PreserveSig = True, CallingConvention = CallingConvention.Winapi, BestFitMapping = False, ThrowOnUnmappableChar = False)]
[PreserveSigAttribute]
public static bool CryptDecodeObject(
   uint CertEncodingType,
   uint lpszStructType,
   byte[] pbEncoded,
   uint cbEncoded,
   uint flags,
   IntPtr pvStructInfo,
   ref uint cbStructInfo
)
C++
[DllImportAttribute(L"crypt32.dll", EntryPoint = L"CryptDecodeObject", CharSet = CharSet::None, ExactSpelling = False, SetLastError = False, PreserveSig = True, CallingConvention = CallingConvention::Winapi, BestFitMapping = False, ThrowOnUnmappableChar = False)]
[PreserveSigAttribute]
public:
 static bool CryptDecodeObject(
   unsigned int CertEncodingType,
   unsigned int lpszStructType,
   array<char>^ pbEncoded,
   unsigned int cbEncoded,
   unsigned int flags,
   IntPtr pvStructInfo,
   unsigned int% cbStructInfo
)
J#
/** @attribute DllImportAttribute("crypt32.dll", EntryPoint = "CryptDecodeObject", CharSet = CharSet.None, ExactSpelling = False, SetLastError = False, PreserveSig = True, CallingConvention = CallingConvention.Winapi, BestFitMapping = False, ThrowOnUnmappableChar = False) */
/** @attribute PreserveSigAttribute() */
public static bool CryptDecodeObject(
   uint CertEncodingType,
   uint lpszStructType,
   byte[] pbEncoded,
   uint cbEncoded,
   uint flags,
   IntPtr pvStructInfo,
   uint cbStructInfo
)
JScript
public static 

   DllImportAttribute("crypt32.dll", EntryPoint = "CryptDecodeObject", CharSet = CharSet.None, ExactSpelling = False, SetLastError = False, PreserveSig = True, CallingConvention = CallingConvention.Winapi, BestFitMapping = False, ThrowOnUnmappableChar = False)
   PreserveSigAttribute
function CryptDecodeObject(
   CertEncodingType : UInt32,
   lpszStructType : UInt32,
   pbEncoded : Byte[],
   cbEncoded : UInt32,
   flags : UInt32,
   pvStructInfo : IntPtr,
   cbStructInfo : UInt32
) : bool

See Also