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