4 writes to pElems
PresentationCore (4)
Core\CSharp\System\Windows\Media\Imaging\PropVariant.cs (4)
164ca.pElems = IntPtr.Zero; 185ca.pElems = destPtr; 214ca.pElems = IntPtr.Zero; 249ca.pElems = destPtr;
19 references to pElems
PresentationCore (19)
Core\CSharp\System\Windows\Media\Imaging\PropVariant.cs (19)
490if (ca.pElems != IntPtr.Zero) 496IntPtr punkPtr = ca.pElems; 511IntPtr strPtr = ca.pElems; 524Marshal.FreeCoTaskMem(ca.pElems); 562array[i] = (sbyte) Marshal.ReadByte(ca.pElems, i); 569Marshal.Copy(ca.pElems, array, 0, (int)ca.cElems); 576Marshal.Copy(ca.pElems, array, 0, (int)ca.cElems); 584array[i] = (ushort) Marshal.ReadInt16(ca.pElems, i*sizeof(ushort)); 591Marshal.Copy(ca.pElems, array, 0, (int)ca.cElems); 599array[i] = (uint) Marshal.ReadInt32(ca.pElems, i*sizeof(uint)); 606Marshal.Copy(ca.pElems, array, 0, (int)ca.cElems); 614array[i] = (UInt64) Marshal.ReadInt64(ca.pElems, i*sizeof(UInt64)); 621Marshal.Copy(ca.pElems, array, 0, (int)ca.cElems); 628Marshal.Copy(ca.pElems, array, 0, (int)ca.cElems); 636array[i] = (bool) (Marshal.ReadInt16(ca.pElems, i*sizeof(ushort)) != 0); 646Marshal.Copy(ca.pElems, guid, i*16, 16); 663IntPtr ptr = Marshal.ReadIntPtr(ca.pElems, i*sizeIntPtr); 680IntPtr ptr = Marshal.ReadIntPtr(ca.pElems, i*sizeIntPtr); 748Marshal.Copy(ca.pElems, blob, 0, (int)ca.cElems);