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