98 references to StructureToPtr
mscorlib (4)
system\deployment\isolationinterop.cs (4)
1303
Marshal.
StructureToPtr
(this, Reference, false);
1628
Marshal.
StructureToPtr
(
2744
Marshal.
StructureToPtr
(this, p, false);
2790
Marshal.
StructureToPtr
(this, p, false);
PresentationCore (2)
Core\CSharp\MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (1)
639
Marshal.
StructureToPtr
(packetProperties[i], new IntPtr(pElement), false);
Core\CSharp\MS\Internal\TextFormatting\LineServicesCallbacks.cs (1)
2495
Marshal.
StructureToPtr
(inlineInit, (System.IntPtr)objectInfo, false);
PresentationFramework (6)
src\Framework\MS\Internal\Printing\PrintDlgExMarshaler.cs (5)
588
Marshal.
StructureToPtr
(range, pdex.lpPageRanges, false);
623
Marshal.
StructureToPtr
(pdex, unmanagedBuffer, false);
665
Marshal.
StructureToPtr
(range, pdex.lpPageRanges, false);
700
Marshal.
StructureToPtr
(pdex, unmanagedBuffer, false);
848
Marshal.
StructureToPtr
(devNames, hDevNames, false);
src\Framework\System\Windows\Shell\WindowChromeWorker.cs (1)
714
Marshal.
StructureToPtr
(rcClientArea, lParam, false);
System (4)
net\System\Net\_SafeNetHandles.cs (3)
951
Marshal.
StructureToPtr
(criteria, criteriaArray, false);
972
Marshal.
StructureToPtr
(certExtension, pCertExtension, false);
979
Marshal.
StructureToPtr
(criteria, criteriaArray + Marshal.SizeOf(criteria), false);
security\system\security\cryptography\x509\x509certificate2.cs (1)
1402
Marshal.
StructureToPtr
(keyProvInfo, ptr.DangerousGetHandle(), false);
System.Core (1)
System\Security\Cryptography\NCryptNative.cs (1)
1729
Marshal.
StructureToPtr
(value, new IntPtr(pBuffer), false);
System.Data (7)
fx\src\data\System\Data\OleDb\DBPropSet.cs (2)
223
Marshal.
StructureToPtr
(propset, propsetPtr, false/*deleteold*/);
233
Marshal.
StructureToPtr
(properties[i], propertyPtr, false/*deleteold*/);
fx\src\data\System\Data\OleDb\PropertyIDSet.cs (2)
41
Marshal.
StructureToPtr
(propertySet, ptr, false/*deleteold*/);
52
Marshal.
StructureToPtr
(propertySets[i], ptr, false/*deleteold*/);
fx\src\data\System\Data\OleDb\RowBinding.cs (1)
137
Marshal.
StructureToPtr
(dbbindings[i], ptr, false/*deleteold*/);
fx\src\data\System\Data\SQLTypes\SQLFileStream.cs (2)
907
Marshal.
StructureToPtr
( objectName, ptr, false );
1075
Marshal.
StructureToPtr
(eaBuffer, ptr, false);
System.Drawing (13)
commonui\System\Drawing\Advanced\EncoderParameters.cs (1)
92
Marshal.
StructureToPtr
(param[i], (IntPtr) (arrayOffset + i * size), false);
commonui\System\Drawing\Advanced\Gdiplus.cs (4)
3266
Marshal.
StructureToPtr
(new GPPOINTF(points[index]), (IntPtr)(checked((long)memory+index*size)), false);
3287
Marshal.
StructureToPtr
(new GPPOINT(points[index]), (IntPtr)(checked((long)memory+index*size)), false);
3308
Marshal.
StructureToPtr
(new GPRECTF(rect[index]), (IntPtr)(checked((long)memory+index*size)), false);
3329
Marshal.
StructureToPtr
(new GPRECT(rect[index]), (IntPtr)(checked((long)memory+index*size)), false);
commonui\System\Drawing\Advanced\GPStream.cs (1)
182
Marshal.
StructureToPtr
(stats, pstatstg, true);
commonui\System\Drawing\Advanced\GraphicsPath.cs (3)
317
Marshal.
StructureToPtr
(numPts, memoryPathData, false);
318
Marshal.
StructureToPtr
(memoryPoints, (IntPtr)((long)memoryPathData+IntPtr.Size), false);
319
Marshal.
StructureToPtr
(typesPtr, (IntPtr)((long)memoryPathData+2*IntPtr.Size), false);
commonui\System\Drawing\Advanced\ImageAttributes.cs (2)
625
Marshal.
StructureToPtr
(map[index].OldColor.ToArgb(), (IntPtr)((long)memory+index*size*2), false);
626
Marshal.
StructureToPtr
(map[index].NewColor.ToArgb(), (IntPtr)((long)memory+index*size*2+size), false);
commonui\System\Drawing\Printing\PageSettings.cs (1)
411
Marshal.
StructureToPtr
(mode, modePointer, false);
commonui\System\Drawing\Printing\PrinterSettings.cs (1)
1051
Marshal.
StructureToPtr
(mode, pointer, false);
System.IdentityModel (1)
System\IdentityModel\Selectors\X509CertificateStore.cs (1)
149
Marshal.
StructureToPtr
(blob, pvFindPara.DangerousGetHandle(), false);
System.IdentityModel.Selectors (1)
infocard\client\System\IdentityModel\Selectors\InternalPolicyElement.cs (1)
88
Marshal.
StructureToPtr
(m_nativeElement, ptr, false);
System.Security (9)
system\security\cryptography\pkcs\envelopedpkcs7.cs (2)
440
Marshal.
StructureToPtr
(encodeInfo, ceei.DangerousGetHandle(), false);
611
Marshal.
StructureToPtr
(auxInfo, pvAuxInfo.DangerousGetHandle(), false);
system\security\cryptography\pkcs\pkcsmisc.cs (1)
322
Marshal.
StructureToPtr
(keyInfo, pKeyInfo.DangerousGetHandle(), false);
system\security\cryptography\pkcs\pkcsutils.cs (2)
1074
Marshal.
StructureToPtr
(KeyProvInfo, pKeyProvInfo.DangerousGetHandle(), false);
1082
Marshal.
StructureToPtr
(SignatureAlgorithm, pSignatureAlgorithm.DangerousGetHandle(), false);
system\security\cryptography\pkcs\signedpkcs7.cs (2)
306
Marshal.
StructureToPtr
(signerEncodeInfo, pSignerEncodeInfo.DangerousGetHandle(), false);
380
Marshal.
StructureToPtr
(signerEncodeInfo, pSignerEncodeInfo.DangerousGetHandle(), false);
system\security\cryptography\pkcs\signerinfo.cs (2)
309
Marshal.
StructureToPtr
(signerEncodeInfo, pSignerEncodeInfo.DangerousGetHandle(), false);
609
Marshal.
StructureToPtr
(newAttr, pNewAttr.DangerousGetHandle(), false);
System.ServiceModel (15)
System\ServiceModel\Channels\PeerUnsafeNativeMethods.cs (4)
244
Marshal.
StructureToPtr
(socketAddressList, result, false);
254
Marshal.
StructureToPtr
(socketAddressList, result, false);
306
Marshal.
StructureToPtr
(sa, (IntPtr)result, false);
359
Marshal.
StructureToPtr
(id, (IntPtr)result, false);
System\ServiceModel\Channels\PnrpPeerResolver.cs (8)
1115
Marshal.
StructureToPtr
(native, target, false);
1261
Marshal.
StructureToPtr
(sa, (IntPtr)socketAddress.lpSockAddr, false);
1272
Marshal.
StructureToPtr
(sa, (IntPtr)socketAddress.lpSockAddr, false);
1392
Marshal.
StructureToPtr
(nativeBlob, (IntPtr)blob.pBlobData, false);
1397
Marshal.
StructureToPtr
(nativeInfo, (IntPtr)nativeBlob.pBlobData, false);
1409
Marshal.
StructureToPtr
(nativeBlob, (IntPtr)blob.pBlobData, false);
1412
Marshal.
StructureToPtr
(cloudInfo, (IntPtr)nativeBlob.pBlobData, false);
1538
Marshal.
StructureToPtr
(native, target, false);
System\ServiceModel\ComIntegration\DispatchProxy.cs (1)
286
Marshal.
StructureToPtr
(exceptionInfo, pExcepInfo, false);
System\ServiceModel\ComIntegration\ProxyManager.cs (2)
172
Marshal.
StructureToPtr
(variant, pVarResult, true);
187
Marshal.
StructureToPtr
(exceptionInfo, pExcepInfo, false);
System.Web (6)
Configuration\RemoteWebConfigurationHost.cs (6)
509
Marshal.
StructureToPtr
(typeof(IRemoteWebConfigurationHostServer).GUID, guidbuf, false);
514
Marshal.
StructureToPtr
(ci, ciptr, false);
518
Marshal.
StructureToPtr
(ca, captr, false);
569
Marshal.
StructureToPtr
(typeof(IRemoteWebConfigurationHostServer).GUID, guidbuf, false);
574
Marshal.
StructureToPtr
(ci, ciptr, false);
578
Marshal.
StructureToPtr
(ca, captr, false);
System.Windows.Forms (29)
parent\parent\parent\public\Internal\NDP\Inc\IsolationInterop.cs (5)
1318
Marshal.
StructureToPtr
(this, Reference, false);
1643
Marshal.
StructureToPtr
(
2760
Marshal.
StructureToPtr
(this, p, false);
2783
Marshal.
StructureToPtr
(this, p, false);
2806
Marshal.
StructureToPtr
(this, p, false);
winforms\Managed\System\WinForms\ComboBox.cs (1)
3645
Marshal.
StructureToPtr
(mis, m.LParam, false);
winforms\Managed\System\WinForms\Control.cs (3)
16901
Marshal.
StructureToPtr
(accel, structAddr, false);
16908
Marshal.
StructureToPtr
(accel, structAddr, false);
16919
Marshal.
StructureToPtr
(accel, structAddr, false);
winforms\Managed\System\WinForms\ControlPaint.cs (1)
178
Marshal.
StructureToPtr
(header, address, false);
winforms\Managed\System\WinForms\DataGridViewMethods.cs (1)
29947
Marshal.
StructureToPtr
(ttt, m.LParam, false);
winforms\Managed\System\WinForms\FileDialog.cs (2)
774
Marshal.
StructureToPtr
(ofn, notify.lpOFN, true);
775
Marshal.
StructureToPtr
(notify, lparam, true);
winforms\Managed\System\WinForms\FontDialog.cs (1)
578
Marshal.
StructureToPtr
(lf, logFontPtr, false);
winforms\Managed\System\WinForms\Form.cs (1)
7228
Marshal.
StructureToPtr
(mmi, m.LParam, false);
winforms\Managed\System\WinForms\ListBox.cs (1)
2378
Marshal.
StructureToPtr
(mis, m.LParam, false);
winforms\Managed\System\WinForms\ListView.cs (2)
6118
Marshal.
StructureToPtr
(dispInfo, (IntPtr) m.LParam, false);
6163
Marshal.
StructureToPtr
(infoTip, (IntPtr) m.LParam, false);
winforms\Managed\System\WinForms\MenuItem.cs (2)
1058
Marshal.
StructureToPtr
(msaaMenuInfoStruct, msaaMenuInfoPtr, false);
1539
Marshal.
StructureToPtr
(mis, m.LParam, false);
winforms\Managed\System\WinForms\MonthCalendar.cs (1)
2323
Marshal.
StructureToPtr
(nmmcds, m.LParam, false);
winforms\Managed\System\WinForms\SendKeys.cs (1)
1096
Marshal.
StructureToPtr
(eventmsg, lparam, true);
winforms\Managed\System\WinForms\TabControl.cs (1)
2045
Marshal.
StructureToPtr
(ttt, m.LParam, false);
winforms\Managed\System\WinForms\ToolBar.cs (3)
1382
Marshal.
StructureToPtr
(tbbutton, (IntPtr)(checked((long)ptbbuttons + (cb * x))), true);
1592
Marshal.
StructureToPtr
(ttt, m.LParam, false);
1614
Marshal.
StructureToPtr
(ttt, m.LParam, false);
winforms\Managed\System\WinForms\TreeView.cs (3)
2716
Marshal.
StructureToPtr
(nmcd, m.LParam, false);
2789
Marshal.
StructureToPtr
(nmcd, m.LParam, false);
2964
Marshal.
StructureToPtr
(ttt, m.LParam, false);