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