コード例 #1
0
 internal static unsafe partial bool CryptQueryObject(
     CertQueryObjectType dwObjectType,
     void* pvObject,
     ExpectedContentTypeFlags dwExpectedContentTypeFlags,
     ExpectedFormatTypeFlags dwExpectedFormatTypeFlags,
     int dwFlags, // reserved - always pass 0
     IntPtr pdwMsgAndCertEncodingType,
     out ContentType pdwContentType,
     IntPtr pdwFormatType,
     out SafeCertStoreHandle phCertStore,
     IntPtr phMsg,
     IntPtr ppvContext
     );
コード例 #2
0
ファイル: Interop.crypt32.cs プロジェクト: zhaon/corefx
 public static extern unsafe bool CryptQueryObject(
     CertQueryObjectType dwObjectType,
     void *pvObject,
     ExpectedContentTypeFlags dwExpectedContentTypeFlags,
     ExpectedFormatTypeFlags dwExpectedFormatTypeFlags,
     int dwFlags, // reserved - always pass 0
     out CertEncodingType pdwMsgAndCertEncodingType,
     out ContentType pdwContentType,
     out FormatType pdwFormatType,
     out SafeCertStoreHandle phCertStore,
     out SafeCryptMsgHandle phMsg,
     out SafeCertContextHandle ppvContext
     );
コード例 #3
0
 private static extern bool CryptQueryObject(
     CertQueryObjectType dwObjectType,
     [In] ref CRYPTOAPI_BLOB pvObject,
     ExpectedContentTypeFlags dwExpectedContentTypeFlags,
     ExpectedFormatTypeFlags dwExpectedFormatTypeFlags,
     int dwFlags, // reserved - always pass 0
     IntPtr pdwMsgAndCertEncodingType,
     IntPtr pdwContentType,
     IntPtr pdwFormatType,
     IntPtr phCertStore,
     IntPtr phMsg,
     out IntPtr ppvContext
     );
コード例 #4
0
ファイル: Interop.crypt32.cs プロジェクト: johnhhm/corefx
 public static unsafe extern bool CryptQueryObject(
     CertQueryObjectType dwObjectType,
     void* pvObject,
     ExpectedContentTypeFlags dwExpectedContentTypeFlags,
     ExpectedFormatTypeFlags dwExpectedFormatTypeFlags,
     int dwFlags, // reserved - always pass 0
     IntPtr pdwMsgAndCertEncodingType,
     out ContentType pdwContentType,
     IntPtr pdwFormatType,
     out SafeCertStoreHandle phCertStore,
     IntPtr phMsg,
     IntPtr ppvContext
     );
コード例 #5
0
 internal static extern bool CryptQueryObject(
     CertQueryObjectType dwObjectType,
     [MarshalAs(UnmanagedType.LPWStr)]
     string pvObject,
     ExpectedContentTypeFlags dwExpectedContentTypeFlags,
     ExpectedFormatTypeFlags dwExpectedFormatTypeFlags,
     int dwFlags, // reserved - always pass 0
     out CertEncodingType pdwMsgAndCertEncodingType,
     out ContentType pdwContentType,
     out FormatType pdwFormatType,
     out IntPtr phCertStore,
     out IntPtr phMsg,
     out IntPtr ppvContext
     );
コード例 #6
0
ファイル: InteropTests.cs プロジェクト: Corillian/corefx
 private static extern bool CryptQueryObject(
     CertQueryObjectType dwObjectType,
     [In] ref CRYPTOAPI_BLOB pvObject,
     ExpectedContentTypeFlags dwExpectedContentTypeFlags,
     ExpectedFormatTypeFlags dwExpectedFormatTypeFlags,
     int dwFlags, // reserved - always pass 0
     IntPtr pdwMsgAndCertEncodingType,
     IntPtr pdwContentType,
     IntPtr pdwFormatType,
     IntPtr phCertStore,
     IntPtr phMsg,
     out IntPtr ppvContext
     );