示例#1
0
 public static unsafe extern bool CryptMsgGetParam
 (
     [param: In] CryptMsgSafeHandle hCryptMsg,
     [param: In, MarshalAs(UnmanagedType.U4)] CryptMsgParamType dwParamType,
     [param: In, MarshalAs(UnmanagedType.U4)] uint dwIndex,
     [param: In] LocalBufferSafeHandle pvData,
     [param: In, Out, MarshalAs(UnmanagedType.U4)] ref uint pcbData
 );
示例#2
0
 public static extern bool CryptQueryObject
 (
     [param: In, MarshalAs(UnmanagedType.U4)] CryptQueryObjectType dwObjectType,
     [param: In, Out, MarshalAs(UnmanagedType.Struct)] ref CRYPTOAPI_BLOB pvObject,
     [param: In, MarshalAs(UnmanagedType.U4)] CryptQueryContentFlagType dwExpectedContentTypeFlags,
     [param: In, MarshalAs(UnmanagedType.U4)] CryptQueryFormatFlagType dwExpectedFormatTypeFlags,
     [param: In, MarshalAs(UnmanagedType.U4)] CryptQueryObjectFlags dwFlags,
     [param: Out, MarshalAs(UnmanagedType.U4)] out EncodingType pdwMsgAndCertEncodingType,
     [param: Out, MarshalAs(UnmanagedType.U4)] out CryptQueryContentType pdwContentType,
     [param: Out, MarshalAs(UnmanagedType.U4)] out CryptQueryFormatType pdwFormatType,
     [param: In, MarshalAs(UnmanagedType.SysInt)]  IntPtr phCertStore,
     [param: Out] out CryptMsgSafeHandle phMsg,
     [param: In, MarshalAs(UnmanagedType.SysInt)] IntPtr ppvContext
 );