12 references to SizeOf_Variant
System.Data (12)
fx\src\data\System\Data\OleDb\OLEDB_Enum.cs (1)
190
static private readonly NativeDBType D_Variant = new NativeDBType(0xff, ODB.
SizeOf_Variant
, true, false, OleDbType.Variant, NativeDBType.VARIANT, S_VARIANT, typeof(System.Object), NativeDBType.VARIANT, DbType.Object ); // 31 - ubyte[16] (variant)
fx\src\data\System\Data\OleDb\RowBinding.cs (11)
165
Debug.Assert(0 == (ODB.
SizeOf_Variant
% 8), "unexpected VARIANT size mutiplier");
167
ValidateCheck(offset, 2*ODB.
SizeOf_Variant
);
191
Debug.Assert(0 == (ODB.
SizeOf_Variant
% 8), "unexpected VARIANT size mutiplier");
193
ValidateCheck(offset, 2*ODB.
SizeOf_Variant
);
210
NativeOledbWrapper.MemoryCopy(ADP.IntPtrOffset(buffer,ODB.
SizeOf_Variant
), buffer, ODB.
SizeOf_Variant
);
372
ValidateCheck(valueOffset, 2*ODB.
SizeOf_Variant
);
490
Debug.Assert(0 == (ODB.
SizeOf_Variant
% 8), "unexpected VARIANT size mutiplier");
494
IntPtr originalHandle = ADP.IntPtrOffset(buffer, valueOffset+ODB.
SizeOf_Variant
);
495
bool different = NativeOledbWrapper.MemoryCompare(currentHandle, originalHandle, ODB.
SizeOf_Variant
);
507
SafeNativeMethods.ZeroMemory(originalHandle, (IntPtr)ODB.
SizeOf_Variant
);