1 write to pElems
System.Windows.Forms.Primitives.Tests (1)
Interop\Ole32\CALPOLESTRTests.cs (1)
38
pElems
= (PWSTR*)Marshal.AllocCoTaskMem(IntPtr.Size * values.Length)
4 references to pElems
System.Windows.Forms.Primitives (2)
Windows\Win32\System\Ole\CALPOLESTR.cs (2)
10
if (cElems == 0 ||
pElems
is null)
18
values[i] =
pElems
[i].ToStringAndCoTaskMemFree();
System.Windows.Forms.Primitives.Tests (2)
Interop\Ole32\CALPOLESTRTests.cs (2)
41
allocations?.Add((IntPtr)ca.
pElems
);
43
Span<IntPtr> elements = new(ca.
pElems
, values.Length);