53 references to ReadIntPtr
PresentationCore (5)
System\Windows\Media\Imaging\PropVariant.cs (5)
209
IntPtr pString = Marshal.
ReadIntPtr
(destPtr, i*sizeIntPtr);
447
UnsafeNativeMethods.MILUnknown.Release(Marshal.
ReadIntPtr
(punkPtr, (int) (i*sizeIntPtr)));
461
Marshal.FreeCoTaskMem(Marshal.
ReadIntPtr
(strPtr, (int) (i*sizeIntPtr)));
599
IntPtr ptr = Marshal.
ReadIntPtr
(ca.pElems, i*sizeIntPtr);
616
IntPtr ptr = Marshal.
ReadIntPtr
(ca.pElems, i*sizeIntPtr);
PresentationFramework (2)
System\Windows\Documents\InputScopeAttribute.cs (1)
104
Marshal.FreeBSTR(Marshal.
ReadIntPtr
(ppbstrPhrases, offset));
System\Windows\Standard\NativeMethods.cs (1)
2363
IntPtr currArg = Marshal.
ReadIntPtr
(argv, i * IntPtr.Size);
ReachFramework (4)
PrintConfig\FallbackPTProvider.cs (4)
748
IntPtr pPrinterName = Marshal.
ReadIntPtr
(ptr, 1 * IntPtr.Size);
755
IntPtr pPortName = Marshal.
ReadIntPtr
(ptr, 3 * IntPtr.Size);
762
IntPtr pDriverName = Marshal.
ReadIntPtr
(ptr, 4 * IntPtr.Size);
769
IntPtr pDevMode = Marshal.
ReadIntPtr
(ptr, 7 * IntPtr.Size);
System.Data.Odbc (1)
Common\System\Data\ProviderBase\DbBuffer.cs (1)
353
value = Marshal.
ReadIntPtr
(ptr, offset);
System.Data.OleDb (23)
DbPropSet.cs (1)
139
IntPtr rgProperties = Marshal.
ReadIntPtr
(ptr, offset);
OleDbConnectionInternal.cs (1)
551
literalValue = Marshal.PtrToStringUni(Marshal.
ReadIntPtr
(literalInfo, 0));
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
138
IntPtr vtable = Marshal.
ReadIntPtr
(base.handle, 0);
139
IntPtr method = Marshal.
ReadIntPtr
(vtable, 0);
155
vtable = Marshal.
ReadIntPtr
(base.handle, 0);
156
method = Marshal.
ReadIntPtr
(vtable, 3 * IntPtr.Size); // Initialize is the 4'th vtable entry
185
vtable = Marshal.
ReadIntPtr
(idbCreateSession, 0);
186
method = Marshal.
ReadIntPtr
(vtable, 3 * IntPtr.Size); // CreateSession is the 4'th vtable entry
338
IntPtr vtable = Marshal.
ReadIntPtr
(base.handle, 0);
339
IntPtr method = Marshal.
ReadIntPtr
(vtable, 0);
349
vtable = Marshal.
ReadIntPtr
(idbCreateCommand, 0);
350
method = Marshal.
ReadIntPtr
(vtable, 3 * IntPtr.Size);
383
IntPtr vtable = Marshal.
ReadIntPtr
(base.handle, 0);
384
IntPtr method = Marshal.
ReadIntPtr
(vtable, 3 * IntPtr.Size);
PropertyInfoSet.cs (1)
120
IntPtr infoPtr = Marshal.
ReadIntPtr
(ptr, offset);
RowBinding.cs (5)
401
int valueOffset = _headerLength + Marshal.
ReadIntPtr
(ptr, ODB.OffsetOf_tagDBBINDING_obValue).ToInt32();
490
IntPtr currentValue = Marshal.
ReadIntPtr
(buffer, valueOffset);
491
IntPtr originalValue = Marshal.
ReadIntPtr
(buffer, valueOffset + IntPtr.Size);
519
IntPtr currentValue = Marshal.
ReadIntPtr
(buffer, valueOffset);
520
IntPtr originalValue = Marshal.
ReadIntPtr
(buffer, valueOffset + IntPtr.Size);
System\Data\ProviderBase\DbBuffer.cs (1)
326
value = Marshal.
ReadIntPtr
(ptr, offset);
System.DirectoryServices (3)
System\DirectoryServices\ActiveDirectory\Exception.cs (2)
461
tempPtr = Marshal.
ReadIntPtr
(errorInfo, i * IntPtr.Size);
488
addr = Marshal.
ReadIntPtr
(collision.Entries, i * IntPtr.Size);
System\DirectoryServices\ActiveDirectory\ForestTrustRelationshipInformation.cs (1)
374
addr = Marshal.
ReadIntPtr
(trustInfo.Entries, i * IntPtr.Size);
System.DirectoryServices.Protocols (14)
System\DirectoryServices\Protocols\common\BerConverter.cs (2)
565
IntPtr ptr = Marshal.
ReadIntPtr
(berValArray, IntPtr.Size * i);
615
tempPtr = Marshal.
ReadIntPtr
(ptrResult, i * IntPtr.Size);
System\DirectoryServices\Protocols\ldap\LdapConnection.cs (10)
776
IntPtr tempPtr = Marshal.
ReadIntPtr
(serverControlArray, IntPtr.Size * i);
809
IntPtr tempPtr = Marshal.
ReadIntPtr
(clientControlArray, IntPtr.Size * i);
843
IntPtr tempPtr = Marshal.
ReadIntPtr
(modArray, IntPtr.Size * i);
869
IntPtr tempPtr = Marshal.
ReadIntPtr
(searchAttributes, IntPtr.Size * i);
1651
IntPtr singleControl = Marshal.
ReadIntPtr
(tempControlPtr, 0);
1659
singleControl = Marshal.
ReadIntPtr
(tempControlPtr, i * IntPtr.Size);
1782
IntPtr tempPtr = Marshal.
ReadIntPtr
(valuesArray, IntPtr.Size * count);
1796
tempPtr = Marshal.
ReadIntPtr
(valuesArray, IntPtr.Size * count);
1825
tempPtr = Marshal.
ReadIntPtr
(referenceArray, IntPtr.Size * count);
1832
tempPtr = Marshal.
ReadIntPtr
(referenceArray, IntPtr.Size * count);
System\DirectoryServices\Protocols\ldap\LdapSessionOptions.cs (2)
676
IntPtr tempPtr = Marshal.
ReadIntPtr
(serverControlArray, IntPtr.Size * i);
709
IntPtr tempPtr = Marshal.
ReadIntPtr
(clientControlArray, IntPtr.Size * i);
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.cs (1)
372
public static nint ReadIntPtr(IntPtr ptr) =>
ReadIntPtr
(ptr, 0);