39 references to WriteIntPtr
PresentationFramework (1)
src\Framework\MS\Internal\Controls\EnumUnknown.cs (1)
73Marshal.WriteIntPtr(rgelt, Marshal.GetIUnknownForObject(this.arr[this.loc]));
System (3)
net\System\Net\_SafeNetHandles.cs (2)
947Marshal.WriteIntPtr(paraArray, oidString); 975Marshal.WriteIntPtr(paraArray, pCertExtension);
security\system\security\cryptography\x509\x509utils.cs (1)
511Marshal.WriteIntPtr(new IntPtr((long) safeLocalAllocHandle.DangerousGetHandle() + index * Marshal.SizeOf(typeof(IntPtr))), pOid);
System.Drawing (1)
commonui\System\Drawing\Advanced\EncoderParameters.cs (1)
87Marshal.WriteIntPtr(memory, (IntPtr) length);
System.IdentityModel (1)
System\IdentityModel\Selectors\X509CertificateChain.cs (1)
345Marshal.WriteIntPtr(new IntPtr((long) safeAllocHandle.DangerousGetHandle() + index * Marshal.SizeOf(typeof(IntPtr))), pOid);
System.Management (2)
managementobject.cs (2)
1495Marshal.WriteIntPtr(ppwbemCallResult, IntPtr.Zero); // Init to NULL. 1796Marshal.WriteIntPtr(ppwbemCallResult, IntPtr.Zero); // Init to NULL.
System.Messaging (2)
System\Messaging\Interop\Restrictions.cs (2)
54Marshal.WriteIntPtr(restrictionStructure.GetNextValidPtr(16), data); 55Marshal.WriteIntPtr(restrictionStructure.GetNextValidPtr(16 + IntPtr.Size), (IntPtr)0);
System.Security (21)
system\security\cryptography\pkcs\envelopedpkcs7.cs (19)
715Marshal.WriteIntPtr(pszObjId, encryptParam.rgszObjId[index].DangerousGetHandle()); 726Marshal.WriteIntPtr(ppbData, certInfo.SubjectPublicKeyInfo.Algorithm.Parameters.pbData); 740Marshal.WriteIntPtr(ppbData, certInfo.SubjectPublicKeyInfo.PublicKey.pbData); 780Marshal.WriteIntPtr(ppbData, pbData.DangerousGetHandle()); 799Marshal.WriteIntPtr(ppbData, certInfo.Issuer.pbData); 810Marshal.WriteIntPtr(ppbData, certInfo.SerialNumber.pbData); 830Marshal.WriteIntPtr(pszObjId, encryptParam.rgszObjId[index].DangerousGetHandle()); 850Marshal.WriteIntPtr(pszObjId, encryptParam.rgszKeyWrapObjId[cKeyAgree].DangerousGetHandle()); 857Marshal.WriteIntPtr(pKeyWrapAuxInfo, encryptParam.pvEncryptionAuxInfo.DangerousGetHandle()); 870Marshal.WriteIntPtr(pEphemeralAlgorithm, encryptParam.rgEphemeralIdentifier[cKeyAgree].DangerousGetHandle()); 878Marshal.WriteIntPtr(pszObjId, encryptParam.rgszEphemeralObjId[cKeyAgree].DangerousGetHandle()); 889Marshal.WriteIntPtr(ppbData, certInfo.SubjectPublicKeyInfo.Algorithm.Parameters.pbData); 900Marshal.WriteIntPtr(prgpRecipientEncryptedKeys, encryptParam.prgpEncryptedKey[cKeyAgree].DangerousGetHandle()); 902Marshal.WriteIntPtr(encryptParam.prgpEncryptedKey[cKeyAgree].DangerousGetHandle(), encryptParam.rgpEncryptedKey[cKeyAgree].DangerousGetHandle()); 917Marshal.WriteIntPtr(ppbData, certInfo.SubjectPublicKeyInfo.PublicKey.pbData); 958Marshal.WriteIntPtr(ppbData, pbKeyId.DangerousGetHandle()); 975Marshal.WriteIntPtr(ppbData, certInfo.Issuer.pbData); 986Marshal.WriteIntPtr(ppbData, certInfo.SerialNumber.pbData); 1033Marshal.WriteIntPtr(pCertInfo, pCertContext.pCertInfo);
system\security\cryptography\pkcs\signerinfo.cs (1)
425Marshal.WriteIntPtr(ppbData, pbParameters.DangerousGetHandle());
system\security\cryptography\x509\x509utils.cs (1)
267Marshal.WriteIntPtr(new IntPtr((long) safeLocalAllocHandle.DangerousGetHandle() + index * Marshal.SizeOf(typeof(IntPtr))), pOid);
System.ServiceModel (7)
System\ServiceModel\ComIntegration\ComPlusAuthorization.cs (2)
505Marshal.WriteIntPtr(serverPrincipalName, str); 525Marshal.WriteIntPtr(clientPrincipalName, str);
System\ServiceModel\ComIntegration\ProxyBuilder.cs (2)
19Marshal.WriteIntPtr(ppv, IntPtr.Zero); 37Marshal.WriteIntPtr(ppv, OuterProxyWrapper.CreateOuterProxyInstance(proxyManager, ref riid));
System\ServiceModel\ComIntegration\ServiceMoniker.cs (2)
164System.Runtime.InteropServices.Marshal.WriteIntPtr(ppmkOut, IntPtr.Zero); 181System.Runtime.InteropServices.Marshal.WriteIntPtr(ppmkOut, ppv);
System\ServiceModel\ComIntegration\TransactionProxy.cs (1)
205Marshal.WriteIntPtr(voterBallot, ppv);
System.Windows.Forms (1)
winforms\Managed\System\WinForms\AxHost.cs (1)
5217Marshal.WriteIntPtr(rgelt, Marshal.GetIUnknownForObject(arr[loc]));