From a8f9826f082fed819c3c0093d3e054f185afeaf7 Mon Sep 17 00:00:00 2001 From: Travis Plunk Date: Mon, 19 Jun 2017 12:10:30 -0700 Subject: [PATCH] Remove unused P/Invoke method declarations (#4041) --- .../security/nativeMethods.cs | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/System.Management.Automation/security/nativeMethods.cs b/src/System.Management.Automation/security/nativeMethods.cs index 6bcd9ee48b..04878490a1 100644 --- a/src/System.Management.Automation/security/nativeMethods.cs +++ b/src/System.Management.Automation/security/nativeMethods.cs @@ -1177,21 +1177,6 @@ namespace System.Management.Automation.Security } } - /// Return Type: BOOL->int - ///pSignerCert: PCCERT_CONTEXT->CERT_CONTEXT* - ///hCertBag: HCERTSTORE->void* - ///fTrustTestCert: BOOL->int - [DllImportAttribute("wintrust.dll", EntryPoint = "WTHelperIsChainedToMicrosoft")] - [return: MarshalAsAttribute(UnmanagedType.Bool)] - internal static extern bool WTHelperIsChainedToMicrosoft([InAttribute()] ref CERT_CONTEXT pSignerCert, [InAttribute()] System.IntPtr hCertBag, [MarshalAsAttribute(UnmanagedType.Bool)] bool fTrustTestCert); - - /// Return Type: BOOL->int - ///hWVTStateData: HANDLE->void* - ///fTrustTestCert: BOOL->int - [DllImportAttribute("wintrust.dll", EntryPoint = "WTHelperIsChainedToMicrosoftFromStateData")] - [return: MarshalAsAttribute(UnmanagedType.Bool)] - internal static extern bool WTHelperIsChainedToMicrosoftFromStateData([InAttribute()] System.IntPtr hWVTStateData, [MarshalAsAttribute(UnmanagedType.Bool)] bool fTrustTestCert); - // // stuff required for getting cert extensions //