4 writes to pElems
PresentationCore (4)
System\Windows\Media\Imaging\PropVariant.cs (4)
133ca.pElems = IntPtr.Zero; 154ca.pElems = destPtr; 178ca.pElems = IntPtr.Zero; 213ca.pElems = destPtr;
19 references to pElems
PresentationCore (19)
System\Windows\Media\Imaging\PropVariant.cs (19)
444if (ca.pElems != IntPtr.Zero) 450IntPtr punkPtr = ca.pElems; 465IntPtr strPtr = ca.pElems; 478Marshal.FreeCoTaskMem(ca.pElems); 511array[i] = (sbyte) Marshal.ReadByte(ca.pElems, i); 518Marshal.Copy(ca.pElems, array, 0, (int)ca.cElems); 525Marshal.Copy(ca.pElems, array, 0, (int)ca.cElems); 533array[i] = (ushort) Marshal.ReadInt16(ca.pElems, i*sizeof(ushort)); 540Marshal.Copy(ca.pElems, array, 0, (int)ca.cElems); 548array[i] = (uint) Marshal.ReadInt32(ca.pElems, i*sizeof(uint)); 555Marshal.Copy(ca.pElems, array, 0, (int)ca.cElems); 563array[i] = (UInt64) Marshal.ReadInt64(ca.pElems, i*sizeof(UInt64)); 570Marshal.Copy(ca.pElems, array, 0, (int)ca.cElems); 577Marshal.Copy(ca.pElems, array, 0, (int)ca.cElems); 585array[i] = (bool) (Marshal.ReadInt16(ca.pElems, i*sizeof(ushort)) != 0); 595Marshal.Copy(ca.pElems, guid, i*16, 16); 612IntPtr ptr = Marshal.ReadIntPtr(ca.pElems, i*sizeIntPtr); 629IntPtr ptr = Marshal.ReadIntPtr(ca.pElems, i*sizeIntPtr); 697Marshal.Copy(ca.pElems, blob, 0, (int)ca.cElems);