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