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