59 references to ca
PresentationCore (59)
System\Windows\Media\Imaging\PropVariant.cs (59)
147ca.cElems = 0; 148ca.pElems = IntPtr.Zero; 168ca.cElems = (uint)length; 169ca.pElems = destPtr; 192ca.cElems = 0; 193ca.pElems = IntPtr.Zero; 227ca.cElems = (uint) length; 228ca.pElems = destPtr; 459if (ca.pElems != IntPtr.Zero) 465IntPtr punkPtr = ca.pElems; 472for (uint i=0; i<ca.cElems; i++) 480IntPtr strPtr = ca.pElems; 487for (uint i=0; i<ca.cElems; i++) 493Marshal.FreeCoTaskMem(ca.pElems); 524sbyte[] array = new sbyte[ca.cElems]; 525for (int i=0; i<ca.cElems; i++) 526array[i] = (sbyte) Marshal.ReadByte(ca.pElems, i); 532byte[] array = new byte[ca.cElems]; 533Marshal.Copy(ca.pElems, array, 0, (int)ca.cElems); 539short[] array = new short[ca.cElems]; 540Marshal.Copy(ca.pElems, array, 0, (int)ca.cElems); 546ushort[] array = new ushort[ca.cElems]; 547for (int i=0; i<ca.cElems; i++) 548array[i] = (ushort) Marshal.ReadInt16(ca.pElems, i*sizeof(ushort)); 554int[] array = new int[ca.cElems]; 555Marshal.Copy(ca.pElems, array, 0, (int)ca.cElems); 561uint[] array = new uint[ca.cElems]; 562for (int i=0; i<ca.cElems; i++) 563array[i] = (uint) Marshal.ReadInt32(ca.pElems, i*sizeof(uint)); 569Int64[] array = new Int64[ca.cElems]; 570Marshal.Copy(ca.pElems, array, 0, (int)ca.cElems); 576UInt64[] array = new UInt64[ca.cElems]; 577for (int i=0; i<ca.cElems; i++) 578array[i] = (UInt64) Marshal.ReadInt64(ca.pElems, i*sizeof(UInt64)); 584float[] array = new float[ca.cElems]; 585Marshal.Copy(ca.pElems, array, 0, (int)ca.cElems); 591double[] array = new double[ca.cElems]; 592Marshal.Copy(ca.pElems, array, 0, (int)ca.cElems); 598bool[] array = new bool[ca.cElems]; 599for (int i=0; i<ca.cElems; i++) 600array[i] = (bool) (Marshal.ReadInt16(ca.pElems, i*sizeof(ushort)) != 0); 606Guid[] array = new Guid[ca.cElems]; 607for (int i=0; i<ca.cElems; i++) 610Marshal.Copy(ca.pElems, guid, i*16, 16); 618String[] array = new String[ca.cElems]; 625for (int i=0; i<ca.cElems; i++) 627IntPtr ptr = Marshal.ReadIntPtr(ca.pElems, i*sizeIntPtr); 635String[] array = new String[ca.cElems]; 642for (int i=0; i<ca.cElems; i++) 644IntPtr ptr = Marshal.ReadIntPtr(ca.pElems, i*sizeIntPtr); 711byte[] blob = new byte[ca.cElems]; 712Marshal.Copy(ca.pElems, blob, 0, (int)ca.cElems);