40 references to StructureToPtr
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (1)
ProcessTracker.cs (1)
38Marshal.StructureToPtr(extendedInfo, extendedInfoPtr, false);
Microsoft.DotNet.RemoteExecutor.Tests (2)
RemoteExecutorTests.cs (2)
119System.Runtime.InteropServices.Marshal.StructureToPtr(1, new IntPtr(1), true); 143System.Runtime.InteropServices.Marshal.StructureToPtr(1, new IntPtr(1), true);
Microsoft.DotNet.SignCheckLibrary (3)
Verification\AuthentiCode.cs (3)
53Marshal.StructureToPtr(fileInfo, data.pFile, false); 57Marshal.StructureToPtr(data, pData, true); 58Marshal.StructureToPtr(WinTrust.WINTRUST_ACTION_GENERIC_VERIFY_V2, pGuid, true);
PresentationCore (3)
MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (1)
527Marshal.StructureToPtr(packetProperties[i], new IntPtr(pElement), false);
MS\Internal\TextFormatting\LineServicesCallbacks.cs (1)
2311Marshal.StructureToPtr(inlineInit, (System.IntPtr)objectInfo, false);
System\Windows\InterOp\HwndSource.cs (1)
1396Marshal.StructureToPtr(windowPos, lParam, true);
PresentationFramework (27)
MS\Internal\IO\Packaging\indexingfiltermarshaler.cs (1)
218Marshal.StructureToPtr(v, pNative, false);
MS\Internal\Printing\PrintDlgExMarshaler.cs (5)
496Marshal.StructureToPtr(range, pdex.lpPageRanges, false); 531Marshal.StructureToPtr(pdex, unmanagedBuffer, false); 575Marshal.StructureToPtr(range, pdex.lpPageRanges, false); 610Marshal.StructureToPtr(pdex, unmanagedBuffer, false); 740Marshal.StructureToPtr(devNames, hDevNames, false);
MS\Internal\WindowsRuntime\Generated\Windows.Data.Text.cs (6)
459Marshal.StructureToPtr(AbiToProjectionVftable, (IntPtr)nativeVftbl, false); 631Marshal.StructureToPtr(AbiToProjectionVftable, (IntPtr)nativeVftbl, false); 1143Marshal.StructureToPtr(AbiToProjectionVftable, (IntPtr)nativeVftbl, false); 1295Marshal.StructureToPtr(AbiToProjectionVftable, (IntPtr)nativeVftbl, false); 1483Marshal.StructureToPtr(AbiToProjectionVftable, (IntPtr)nativeVftbl, false); 1577Marshal.StructureToPtr(AbiToProjectionVftable, nativeVftbl, false);
MS\Internal\WindowsRuntime\Generated\Windows.Globalization.cs (6)
234Marshal.StructureToPtr(AbiToProjectionVftable, (IntPtr)nativeVftbl, false); 418Marshal.StructureToPtr(AbiToProjectionVftable, (IntPtr)nativeVftbl, false); 492Marshal.StructureToPtr(AbiToProjectionVftable, (IntPtr)nativeVftbl, false); 573Marshal.StructureToPtr(AbiToProjectionVftable, (IntPtr)nativeVftbl, false); 656Marshal.StructureToPtr(AbiToProjectionVftable, (IntPtr)nativeVftbl, false); 772Marshal.StructureToPtr(AbiToProjectionVftable, (IntPtr)nativeVftbl, false);
MS\Internal\WindowsRuntime\Generated\WinRT\IInspectable.cs (1)
46Marshal.StructureToPtr(AbiToProjectionVftable, AbiToProjectionVftablePtr, false);
MS\Internal\WindowsRuntime\Generated\WinRT\Interop\ExceptionErrorInfo.cs (2)
108Marshal.StructureToPtr(AbiToProjectionVftable, (IntPtr)nativeVftbl, false); 342Marshal.StructureToPtr(AbiToProjectionVftable, (IntPtr)nativeVftbl, false);
MS\Internal\WindowsRuntime\Generated\WinRT\Interop\IUnknownVftbl.cs (1)
26Marshal.StructureToPtr(AbiToProjectionVftbl, AbiToProjectionVftblPtr, false);
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IEnumerable.cs (2)
118Marshal.StructureToPtr(AbiToProjectionVftable.IInspectableVftbl, (IntPtr)nativeVftbl, false); 450Marshal.StructureToPtr(AbiToProjectionVftable.IInspectableVftbl, (IntPtr)nativeVftbl, false);
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IReadOnlyList.cs (1)
240Marshal.StructureToPtr(AbiToProjectionVftable.IInspectableVftbl, (IntPtr)nativeVftbl, false);
System\Windows\Documents\ImmComposition.cs (1)
1361Marshal.StructureToPtr(reconv, lParam, true);
System\Windows\Shell\WindowChromeWorker.cs (1)
431Marshal.StructureToPtr(rcClientArea, lParam, false);
PresentationUI (1)
MS\Internal\Documents\PeoplePickerWrapper.cs (1)
154Marshal.StructureToPtr(queryInitParams, queryInitParamsPtr, false /*fDeleteOld*/);
System.Windows.Forms.Tests (1)
System\Windows\Forms\MessageTests.cs (1)
195Marshal.StructureToPtr(original, ptr, fDeleteOld: false);
TlsFeaturesObserve (1)
HttpSys\HttpSysConfigurator.cs (1)
56Marshal.StructureToPtr(configSslSet, pInputConfigInfo, false);
UIAutomationClient (1)
System\Windows\Automation\Condition.cs (1)
46Marshal.StructureToPtr(uiaCondition, sh.handle, false);