46 references to DestroyStructure
mscorlib (15)
system\deployment\isolationinterop.cs (13)
1312Marshal.DestroyStructure(ip, typeof(StoreApplicationReference)); 1608Marshal.DestroyStructure( 2451Marshal.DestroyStructure(op.Data.DataPtr, typeof(StoreOperationStageComponent)); 2454Marshal.DestroyStructure(op.Data.DataPtr, typeof(StoreOperationStageComponentFile)); 2457Marshal.DestroyStructure(op.Data.DataPtr, typeof(StoreOperationPinDeployment)); 2460Marshal.DestroyStructure(op.Data.DataPtr, typeof(StoreOperationUninstallDeployment)); 2463Marshal.DestroyStructure(op.Data.DataPtr, typeof(StoreOperationUnpinDeployment)); 2466Marshal.DestroyStructure(op.Data.DataPtr, typeof(StoreOperationInstallDeployment)); 2469Marshal.DestroyStructure(op.Data.DataPtr, typeof(StoreOperationSetCanonicalizationContext)); 2472Marshal.DestroyStructure(op.Data.DataPtr, typeof(StoreOperationSetDeploymentMetadata)); 2475Marshal.DestroyStructure(op.Data.DataPtr, typeof(StoreOperationScavenge)); 2751Marshal.DestroyStructure(p, typeof(CreateActContextParametersSource)); 2797Marshal.DestroyStructure(p, typeof(CreateActContextParametersSourceDefinitionAppid));
system\runtime\interopservices\marshal.cs (1)
1022DestroyStructure(ptr, typeof(T));
system\stubhelpers.cs (1)
1329Marshal.DestroyStructure(pNativeHome, layoutType);
PresentationCore (1)
Core\CSharp\MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (1)
675Marshal.DestroyStructure(new IntPtr(pElement), typeof(MS.Win32.Recognizer.PACKET_PROPERTY));
System (1)
security\system\security\cryptography\x509\x509certificate2.cs (1)
1413Marshal.DestroyStructure(ptr.DangerousGetHandle(), typeof(CAPI.CRYPT_KEY_PROV_INFO));
System.Core (1)
System\Security\Cryptography\NCryptNative.cs (1)
1737Marshal.DestroyStructure(new IntPtr(pBuffer), typeof(T));
System.IdentityModel.Selectors (1)
infocard\client\System\IdentityModel\Selectors\InternalPolicyElement.cs (1)
108Marshal.DestroyStructure(m_nativePtr, typeof(NativePolicyElement));
System.Security (8)
system\security\cryptography\pkcs\envelopedpkcs7.cs (1)
459Marshal.DestroyStructure(ceei.DangerousGetHandle(), typeof(CAPI.CMSG_ENVELOPED_ENCODE_INFO));
system\security\cryptography\pkcs\pkcsmisc.cs (1)
328Marshal.DestroyStructure(pKeyInfo.DangerousGetHandle(), typeof(CAPI.CERT_PUBLIC_KEY_INFO));
system\security\cryptography\pkcs\pkcsutils.cs (2)
1101Marshal.DestroyStructure(pKeyProvInfo.DangerousGetHandle(), typeof(CAPI.CRYPT_KEY_PROV_INFO)); 1103Marshal.DestroyStructure(pSignatureAlgorithm.DangerousGetHandle(), typeof(CAPI.CRYPT_ALGORITHM_IDENTIFIER));
system\security\cryptography\pkcs\signedpkcs7.cs (2)
351Marshal.DestroyStructure(pSignerEncodeInfo.DangerousGetHandle(), typeof(CAPI.CMSG_SIGNER_ENCODE_INFO)); 390Marshal.DestroyStructure(pSignerEncodeInfo.DangerousGetHandle(), typeof(CAPI.CMSG_SIGNER_ENCODE_INFO));
system\security\cryptography\pkcs\signerinfo.cs (2)
324Marshal.DestroyStructure(pSignerEncodeInfo.DangerousGetHandle(), typeof(CAPI.CMSG_SIGNER_ENCODE_INFO)); 618Marshal.DestroyStructure(pNewAttr.DangerousGetHandle(), typeof(CAPI.CRYPT_ATTRIBUTE));
System.Web (4)
Configuration\RemoteWebConfigurationHost.cs (4)
540Marshal.DestroyStructure(captr, typeof(COAUTHINFO)); 544Marshal.DestroyStructure(ciptr, typeof(COAUTHIDENTITY)); 599Marshal.DestroyStructure(captr, typeof(COAUTHINFO_X64)); 603Marshal.DestroyStructure(ciptr, typeof(COAUTHIDENTITY_X64));
System.Windows.Forms (15)
parent\parent\parent\public\Internal\NDP\Inc\IsolationInterop.cs (14)
1327Marshal.DestroyStructure(ip, typeof(StoreApplicationReference)); 1623Marshal.DestroyStructure( 2467Marshal.DestroyStructure(op.Data.DataPtr, typeof(StoreOperationStageComponent)); 2470Marshal.DestroyStructure(op.Data.DataPtr, typeof(StoreOperationStageComponentFile)); 2473Marshal.DestroyStructure(op.Data.DataPtr, typeof(StoreOperationPinDeployment)); 2476Marshal.DestroyStructure(op.Data.DataPtr, typeof(StoreOperationUninstallDeployment)); 2479Marshal.DestroyStructure(op.Data.DataPtr, typeof(StoreOperationUnpinDeployment)); 2482Marshal.DestroyStructure(op.Data.DataPtr, typeof(StoreOperationInstallDeployment)); 2485Marshal.DestroyStructure(op.Data.DataPtr, typeof(StoreOperationSetCanonicalizationContext)); 2488Marshal.DestroyStructure(op.Data.DataPtr, typeof(StoreOperationSetDeploymentMetadata)); 2491Marshal.DestroyStructure(op.Data.DataPtr, typeof(StoreOperationScavenge)); 2767Marshal.DestroyStructure(p, typeof(CreateActContextParametersSource)); 2789Marshal.DestroyStructure(p, typeof(CreateActContextParametersSourceReferenceAppid)); 2813Marshal.DestroyStructure(p, typeof(CreateActContextParametersSourceDefinitionAppid));
winforms\Managed\System\WinForms\MenuItem.cs (1)
1067Marshal.DestroyStructure(msaaMenuInfoPtr, typeof(MsaaMenuInfoWithId));