45 references to IntPtrOffset
System.Data (45)
fx\src\data\System\Data\Odbc\OdbcUtils.cs (1)
323
IntPtr ptr = ADP.
IntPtrOffset
(DangerousGetHandle(), offset);
fx\src\data\System\Data\OleDb\ColumnBinding.cs (3)
634
ptr = ADP.
IntPtrOffset
(ptr, ValueBindingOffset);
674
ptr = ADP.
IntPtrOffset
(ptr, ValueBindingOffset);
691
ptr = ADP.
IntPtrOffset
(ptr, ValueBindingOffset);
fx\src\data\System\Data\OleDb\DBPropSet.cs (6)
132
IntPtr vptr = ADP.
IntPtrOffset
(rgProperties, ODB.OffsetOf_tagDBPROP_Value);
133
for (int k = 0; k < cProperties; ++k, vptr = ADP.
IntPtrOffset
(vptr, ODB.SizeOf_tagDBPROP)) {
170
IntPtr propertySetPtr = ADP.
IntPtrOffset
(DangerousGetHandle(), index * ODB.SizeOf_tagDBPROPSET);
177
IntPtr ptr = ADP.
IntPtrOffset
(propset.rgProperties, i * ODB.SizeOf_tagDBPROP);
211
IntPtr propsetPtr = ADP.
IntPtrOffset
(DangerousGetHandle(), index * ODB.SizeOf_tagDBPROPSET);
232
IntPtr propertyPtr = ADP.
IntPtrOffset
(propset.rgProperties, i * ODB.SizeOf_tagDBPROP);
fx\src\data\System\Data\OleDb\OleDbConnectionInternal.cs (1)
553
IntPtr ptr = ADP.
IntPtrOffset
(schemaGuids, i * ODB.SizeOf_Guid);
fx\src\data\System\Data\OleDb\OleDbDataReader.cs (1)
467
Marshal.PtrToStructure(ADP.
IntPtrOffset
(columnInfos, offset), dbColumnInfo);
fx\src\data\System\Data\OleDb\PropertyIDSet.cs (3)
35
IntPtr ptr = ADP.
IntPtrOffset
(base.handle, PropertyIDSetSize);
40
ptr = ADP.
IntPtrOffset
(base.handle, ODB.OffsetOf_tagDBPROPIDSET_PropertySet);
51
IntPtr ptr = ADP.
IntPtrOffset
(base.handle, (i * PropertyIDSetSize) + ODB.OffsetOf_tagDBPROPIDSET_PropertySet);
fx\src\data\System\Data\OleDb\PropertyInfoSet.cs (3)
77
for (int i = 0; i < setCount; ++i, setPtr = ADP.
IntPtrOffset
(setPtr, ODB.SizeOf_tagDBPROPINFOSET)) {
82
for(int k = 0; k < infoCount; ++k, infoPtr = ADP.
IntPtrOffset
(infoPtr, ODB.SizeOf_tagDBPROPINFO)) {
124
IntPtr valuePtr = ADP.
IntPtrOffset
(infoPtr, (k * ODB.SizeOf_tagDBPROPINFO) + ODB.OffsetOf_tagDBPROPINFO_Value);
fx\src\data\System\Data\OleDb\RowBinding.cs (13)
86
return ADP.
IntPtrOffset
(DangerousGetHandle(), _headerLength);
95
return ADP.
IntPtrOffset
(DangerousGetHandle(), valueOffset);
136
IntPtr ptr = ADP.
IntPtrOffset
(buffer, (i * ODB.SizeOf_tagDBBINDING));
175
IntPtr buffer = ADP.
IntPtrOffset
(DangerousGetHandle(), offset);
201
buffer = ADP.
IntPtrOffset
(DangerousGetHandle(), offset);
210
NativeOledbWrapper.MemoryCopy(ADP.
IntPtrOffset
(buffer,ODB.SizeOf_Variant), buffer, ODB.SizeOf_Variant);
262
pinnedValue = ADP.
IntPtrOffset
(base.handle, _emptyStringOffset);
356
IntPtr ptr = ADP.
IntPtrOffset
(buffer, (i * ODB.SizeOf_tagDBBINDING));
430
IntPtr chapter = SafeNativeMethods.InterlockedExchangePointer(ADP.
IntPtrOffset
(buffer, valueOffset), ADP.PtrZero);
493
IntPtr currentHandle = ADP.
IntPtrOffset
(buffer, valueOffset);
494
IntPtr originalHandle = ADP.
IntPtrOffset
(buffer, valueOffset+ODB.SizeOf_Variant);
519
IntPtr currentHandle = ADP.
IntPtrOffset
(buffer, valueOffset);
549
IntPtr ptr = ADP.
IntPtrOffset
(DangerousGetHandle(), offset);
fx\src\data\System\Data\ProviderBase\DbBuffer.cs (11)
76
IntPtr ptr = ADP.
IntPtrOffset
(DangerousGetHandle(), offset);
101
IntPtr ptr = ADP.
IntPtrOffset
(DangerousGetHandle(), offset);
151
IntPtr ptr = ADP.
IntPtrOffset
(DangerousGetHandle(), offset);
179
IntPtr ptr = ADP.
IntPtrOffset
(DangerousGetHandle(), offset);
229
IntPtr ptr = ADP.
IntPtrOffset
(DangerousGetHandle(), offset);
273
IntPtr ptr = ADP.
IntPtrOffset
(DangerousGetHandle(), offset);
353
IntPtr ptr = ADP.
IntPtrOffset
(DangerousGetHandle(), offset);
395
IntPtr ptr = ADP.
IntPtrOffset
(DangerousGetHandle(), offset);
417
IntPtr ptr = ADP.
IntPtrOffset
(DangerousGetHandle(), offset);
463
IntPtr ptr = ADP.
IntPtrOffset
(DangerousGetHandle(), offset);
505
IntPtr ptr = ADP.
IntPtrOffset
(DangerousGetHandle(), offset);
fx\src\data\System\Data\SqlClient\SqlConnection.cs (3)
2515
Marshal.Copy(rgbMachineName, 0, ADP.
IntPtrOffset
(pMemMap, offset), rgbMachineName.Length);
2517
Marshal.Copy(rgbSDIDLLName, 0, ADP.
IntPtrOffset
(pMemMap, offset), rgbSDIDLLName.Length);
2522
Marshal.Copy(rgbData, 0, ADP.
IntPtrOffset
(pMemMap, offset), (int)cbData);