42 references to ReadIntPtr
PresentationCore (5)
Core\CSharp\System\Windows\Media\Imaging\PropVariant.cs (5)
258IntPtr pString = Marshal.ReadIntPtr(destPtr, i*sizeIntPtr); 506UnsafeNativeMethods.MILUnknown.Release(Marshal.ReadIntPtr(punkPtr, (int) (i*sizeIntPtr))); 520Marshal.FreeCoTaskMem(Marshal.ReadIntPtr(strPtr, (int) (i*sizeIntPtr))); 663IntPtr ptr = Marshal.ReadIntPtr(ca.pElems, i*sizeIntPtr); 680IntPtr ptr = Marshal.ReadIntPtr(ca.pElems, i*sizeIntPtr);
PresentationFramework (2)
src\Framework\System\Windows\Documents\InputScopeAttribute.cs (1)
131Marshal.FreeBSTR(Marshal.ReadIntPtr(ppbstrPhrases, offset));
src\Framework\System\Windows\Standard\NativeMethods.cs (1)
2535IntPtr currArg = Marshal.ReadIntPtr(argv, i * Marshal.SizeOf(typeof(IntPtr)));
System (4)
net\System\Net\_SSPIWrapper.cs (3)
896IntPtr unmanagedString = Marshal.ReadIntPtr(packageInfo, SecurityPackageInfo.NameOffest); 961unmanagedString = Marshal.ReadIntPtr(unmanagedAddress, (int)Marshal.OffsetOf(typeof(SecurityPackageInfo),"Name")); 967unmanagedString = Marshal.ReadIntPtr(unmanagedAddress, (int)Marshal.OffsetOf(typeof(SecurityPackageInfo),"Comment"));
net\System\Net\HttpListener.cs (1)
2425IntPtr tokenPointer = Marshal.ReadIntPtr((IntPtr)blob, (int)Marshal.OffsetOf(ChannelBindingStatusType, "ChannelToken"));
System.Data (24)
fx\src\data\System\Data\OleDb\DBPropSet.cs (1)
128IntPtr rgProperties = Marshal.ReadIntPtr(ptr, offset);
fx\src\data\System\Data\OleDb\OleDbConnectionInternal.cs (1)
513literalValue = Marshal.PtrToStringUni(Marshal.ReadIntPtr(literalInfo, 0));
fx\src\data\System\Data\OleDb\OleDbWrapper.cs (14)
40IntPtr vtable = Marshal.ReadIntPtr(base.handle, 0); 41IntPtr method = Marshal.ReadIntPtr(vtable, 3 * IntPtr.Size); // GetDataSource is the 4'th vtable entry 104IntPtr vtable = Marshal.ReadIntPtr(base.handle, 0); 105IntPtr method = Marshal.ReadIntPtr(vtable, 0); 120vtable = Marshal.ReadIntPtr(base.handle, 0); 121method = Marshal.ReadIntPtr(vtable, 3 * IntPtr.Size); // Initialize is the 4'th vtable entry 146vtable = Marshal.ReadIntPtr(idbCreateSession, 0); 147method = Marshal.ReadIntPtr(vtable, 3 * IntPtr.Size); // CreateSession is the 4'th vtable entry 242IntPtr vtable = Marshal.ReadIntPtr(base.handle, 0); 243IntPtr method = Marshal.ReadIntPtr(vtable, 0); 248vtable = Marshal.ReadIntPtr(idbCreateCommand, 0); 249method = Marshal.ReadIntPtr(vtable, 3 * IntPtr.Size); 279IntPtr vtable = Marshal.ReadIntPtr(base.handle, 0); 280IntPtr method = Marshal.ReadIntPtr(vtable, 3 * IntPtr.Size);
fx\src\data\System\Data\OleDb\PropertyInfoSet.cs (1)
119IntPtr infoPtr = Marshal.ReadIntPtr(ptr, offset);
fx\src\data\System\Data\OleDb\RowBinding.cs (5)
358int valueOffset = _headerLength + Marshal.ReadIntPtr(ptr, ODB.OffsetOf_tagDBBINDING_obValue).ToInt32(); 447IntPtr currentValue = Marshal.ReadIntPtr(buffer, valueOffset); 448IntPtr originalValue = Marshal.ReadIntPtr(buffer, valueOffset + ADP.PtrSize); 471IntPtr currentValue = Marshal.ReadIntPtr(buffer, valueOffset); 472IntPtr originalValue = Marshal.ReadIntPtr(buffer, valueOffset + ADP.PtrSize);
fx\src\data\System\Data\ProviderBase\DbBuffer.cs (1)
317value = Marshal.ReadIntPtr(ptr, offset);
fx\src\data\System\Data\ProviderBase\DbConnectionPoolIdentity.cs (1)
161SID = Marshal.ReadIntPtr(tokenStruct, 0);
System.IdentityModel (4)
System\IdentityModel\SspiSafeHandles.cs (1)
1309IntPtr keyPtr = Marshal.ReadIntPtr(new IntPtr(buffer), SecPkgContext_SessionKey.SessionkeyOffset);
System\IdentityModel\SspiWrapper.cs (3)
181unmanagedString = Marshal.ReadIntPtr(unmanagedAddress, (int)Marshal.OffsetOf(typeof(SecurityPackageInfo), "Name")); 187unmanagedString = Marshal.ReadIntPtr(unmanagedAddress, (int)Marshal.OffsetOf(typeof(SecurityPackageInfo), "Comment")); 222IntPtr unmanagedString = Marshal.ReadIntPtr(packageInfo, SecurityPackageInfo.NameOffest);
System.Windows.Forms (3)
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\BaseCAMarshaler.cs (1)
123addr = Marshal.ReadIntPtr(caArrayAddress, i * IntPtr.Size);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2IManagedPerPropertyBrowsingHandler.cs (1)
204bstr = Marshal.ReadIntPtr(ptr, i*4);
winforms\Managed\System\WinForms\Control.cs (1)
17865IntPtr vtblptr = Marshal.ReadIntPtr(this.handle, 0);