Remove unused P/Invoke method declarations (#4041)

This commit is contained in:
Travis Plunk 2017-06-19 12:10:30 -07:00 committed by Dongbo Wang
parent 2ae5d071ce
commit a8f9826f08

View file

@ -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
//