159 references to IntPtr
Microsoft.AspNetCore.Server.HttpSys (7)
AuthenticationManager.cs (1)
137
IntPtr infoptr = new
IntPtr
(&authInfo);
NativeInterop\UrlGroup.cs (5)
63
SetProperty(HTTP_SERVER_PROPERTY.HttpServerQosProperty, new
IntPtr
(&qosSettings), (uint)QosInfoSize);
74
SetProperty(HTTP_SERVER_PROPERTY.HttpServerDelegationProperty, new
IntPtr
(&propertyInfo), (uint)RequestPropertyInfoSize);
84
SetProperty(HTTP_SERVER_PROPERTY.HttpServerDelegationProperty, new
IntPtr
(&propertyInfo), (uint)RequestPropertyInfoSize, throwOnError);
117
var infoptr = new
IntPtr
(&info);
133
var infoptr = new
IntPtr
(&info);
TimeoutManager.cs (1)
222
var infoptr = new
IntPtr
(&timeoutinfo);
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Infrastructure\HttpUtilities.cs (1)
95
return string.Create(span.Length, new
IntPtr
(source), s_getHeaderName);
Microsoft.Build.Tasks.Core (2)
ManifestUtil\mansign2.cs (2)
536
publicKeyBlob.pbData = new
IntPtr
(pbPublicKeyBlob);
928
IntPtr pvLicense = new
IntPtr
(pbLicense);
PresentationCore (6)
MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (2)
547
Marshal.StructureToPtr(packetProperties[i], new
IntPtr
(pElement), false);
579
Marshal.DestroyStructure(new
IntPtr
(pElement), typeof(MS.Win32.Recognizer.PACKET_PROPERTY));
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\CharacterBuffer.cs (3)
228
return new
IntPtr
(((char*)gcHandle.AddrOfPinnedObject().ToPointer()) + offset);
327
return new
IntPtr
(((char*)gcHandle.AddrOfPinnedObject().ToPointer()) + offset);
436
return new
IntPtr
(_unsafeString + offset);
System\Windows\Media\GlyphTypeface.cs (1)
1290
Marshal.Copy(new
IntPtr
(pMilPathGeometry), data, 0, checked((int)size));
PresentationFramework (8)
MS\Internal\IO\Packaging\UnsafeIndexingFilterStream.cs (3)
97
IntPtr pBytesRead = new
IntPtr
(&bytesRead);
107
_oleStream.Read(new
IntPtr
(bufferPointer), count, pBytesRead);
138
IntPtr positionAddress = new
IntPtr
(&position);
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IEnumerable.cs (1)
521
____return_value__ = FindAdapter(new
IntPtr
(thisPtr))._Current;
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IReadOnlyList.cs (2)
270
____return_value__ = FindAdapter(new
IntPtr
(thisPtr)).GetAt(index);
291
____return_value__ = FindAdapter(new
IntPtr
(thisPtr)).IndexOf(Marshaler<T>.FromAbi(value), out __index);
System\Windows\Documents\ImmComposition.cs (1)
1397
Marshal.Copy(surrounding.ToCharArray(), 0, new
IntPtr
((void*)p), surrounding.Length);
System\Windows\Interop\DynamicScriptObject.cs (1)
318
dp.rgdispidNamedArgs = new
IntPtr
(&propertyPutDispId);
ReachFramework (6)
PrintConfig\PTProvider.cs (6)
640
stream.Seek(0, 1 /* STREAM_SEEK_CUR */, new
IntPtr
(&iStreamPosition));
670
dst.Write(src, (int)byteCount, new
IntPtr
(&totalBytesWritten));
691
dst.Write(data, bytesToWrite, new
IntPtr
(&bytesWritten));
724
src.Read(dst, (int)byteCount, new
IntPtr
(&totalBytesRead));
745
src.Read(data, bytesToRead, new
IntPtr
(&bytesRead));
769
stream.Seek(0, 1 /* STREAM_SEEK_CUR */, new
IntPtr
(&iStreamPosition));
System.Diagnostics.Process (1)
src\libraries\Common\src\Interop\Linux\procfs\Interop.ProcFsStat.ParseMapModules.cs (1)
74
module.BaseAddress = new
IntPtr
((void*)parsedLine.StartAddress);
System.Net.Ping (1)
System\Net\NetworkInformation\Ping.RawSocket.cs (1)
451
Marshal.Copy(new
IntPtr
(&icmpHeader), result, offset, icmpHeaderSize);
System.Private.CoreLib (8)
src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.FullGlobalizationData.cs (1)
83
regionPtr = new
IntPtr
(regionInAscii);
src\System\Runtime\InteropServices\Marshal.CoreCLR.cs (2)
113
AsAnyMarshaler marshaler = new AsAnyMarshaler(new
IntPtr
(&nativeArrayMarshalerState));
180
AsAnyMarshaler marshaler = new AsAnyMarshaler(new
IntPtr
(&nativeArrayMarshalerState));
src\System\Runtime\Loader\AssemblyLoadContext.CoreCLR.cs (2)
78
LoadFromStream(_nativeAssemblyLoadContext, new
IntPtr
(ptrAssembly), arrAssembly.Length,
79
new
IntPtr
(ptrSymbols), arrSymbols.Length, ObjectHandleOnStack.Create(ref loadedAssembly));
src\System\StubHelpers.cs (3)
369
return new
IntPtr
(pNative);
965
IntPtr pNativeHomeAddr = new
IntPtr
(&pNativeHome);
1172
new
IntPtr
(&pNativeHome));
UIAutomationClientSideProviders (119)
MS\Internal\AutomationProxies\CommonXSendMessage.cs (85)
90
IntPtr remoteTextArea = new
IntPtr
((byte*)rmem.Address.ToPointer() + cbSize);
124
rmem.ReadFrom(new
IntPtr
((byte*)rmem.Address.ToPointer() + cbSize), new
IntPtr
(pchRes), new IntPtr(maxLength * sizeof(char)));
410
return GetTextWithinStructure(hwnd, NativeMethods.LVM_GETITEMW, IntPtr.Zero, new
IntPtr
(&item), Marshal.SizeOf(item.GetType()), new
IntPtr
(&item.pszText), item.cchTextMax);
417
new
IntPtr
(&item32), Marshal.SizeOf(item32.GetType()), new
IntPtr
(&item32.pszText),
425
return GetTextWithinStructure(hwnd, NativeMethods.LVM_GETITEMW, IntPtr.Zero, new
IntPtr
(&item64), Marshal.SizeOf(item64.GetType()), new
IntPtr
(&item64.pszText), item64.cchTextMax);
439
return XSend(hwnd, NativeMethods.LVM_SETITEMSTATE, new IntPtr(index), new
IntPtr
(&item), Marshal.SizeOf(item.GetType()));
445
return XSend(hwnd, NativeMethods.LVM_SETITEMSTATE, new IntPtr(index), new
IntPtr
(&item32), Marshal.SizeOf(item32.GetType()));
451
return XSend(hwnd, NativeMethods.LVM_SETITEMSTATE, new IntPtr(index), new
IntPtr
(&item64), Marshal.SizeOf(item64.GetType()));
467
return XSend(hwnd, NativeMethods.LVM_GETITEMW, IntPtr.Zero, new
IntPtr
(pItem), Marshal.SizeOf(item.GetType()), XSendMessage.ErrorValue.NoCheck);
474
bool result = XSend(hwnd, NativeMethods.LVM_GETITEMW, IntPtr.Zero, new
IntPtr
(&item32), Marshal.SizeOf(item32.GetType()), XSendMessage.ErrorValue.NoCheck);
486
bool result = XSend(hwnd, NativeMethods.LVM_GETITEMW, IntPtr.Zero, new
IntPtr
(&item64), Marshal.SizeOf(item64.GetType()), XSendMessage.ErrorValue.NoCheck);
507
new IntPtr(group.iGroupID), new
IntPtr
(&group), Marshal.SizeOf(group.GetType()));
514
new IntPtr(group.iGroupID), new
IntPtr
(&group32), Marshal.SizeOf(group32.GetType()));
521
new IntPtr(group.iGroupID), new
IntPtr
(&group64), Marshal.SizeOf(group64.GetType()));
540
new IntPtr(group.iGroupID), new
IntPtr
(pGroup), Marshal.SizeOf(group.GetType()));
551
new IntPtr(group.iGroupID), new
IntPtr
(&group32), Marshal.SizeOf(group32.GetType()));
562
new IntPtr(group.iGroupID), new
IntPtr
(&group64), Marshal.SizeOf(group64.GetType()));
585
new IntPtr(group.iGroupID), new
IntPtr
(pGroup), Marshal.SizeOf(group.GetType()));
596
new IntPtr(group.iGroupID), new
IntPtr
(&group32), Marshal.SizeOf(group32.GetType()));
607
new IntPtr(group.iGroupID), new
IntPtr
(&group64), Marshal.SizeOf(group64.GetType()));
632
return GetTextWithinStructure(hwnd, NativeMethods.LVM_GETGROUPINFO, new IntPtr(item.iGroupID), new
IntPtr
(&item), Marshal.SizeOf(item.GetType()), new
IntPtr
(&item.pszHeader), item.cchHeader);
644
return GetTextWithinStructure(hwnd, NativeMethods.LVM_GETGROUPINFO, new IntPtr(item32.iGroupID), new
IntPtr
(&item32), Marshal.SizeOf(item32.GetType()), new
IntPtr
(&item32.pszHeader), item32.cchHeader);
656
return GetTextWithinStructure(hwnd, NativeMethods.LVM_GETGROUPINFO, new IntPtr(item64.iGroupID), new
IntPtr
(&item64), Marshal.SizeOf(item64.GetType()), new
IntPtr
(&item64.pszHeader), item64.cchHeader);
682
textAddress = new
IntPtr
(&item.pszHeader);
687
textAddress = new
IntPtr
(&item.pszSubsetTitle);
691
return GetTextWithinStructure(hwnd, NativeMethods.LVM_GETGROUPINFO, new IntPtr(item.iGroupID), new
IntPtr
(&item), Marshal.SizeOf(item.GetType()), textAddress, size, true);
700
textAddress = new
IntPtr
(&item32.pszHeader);
705
textAddress = new
IntPtr
(&item32.pszSubsetTitle);
709
return GetTextWithinStructure(hwnd, NativeMethods.LVM_GETGROUPINFO, new IntPtr(item32.iGroupID), new
IntPtr
(&item32), Marshal.SizeOf(item32.GetType()), textAddress, size, true);
718
textAddress = new
IntPtr
(&item64.pszHeader);
723
textAddress = new
IntPtr
(&item64.pszSubsetTitle);
727
return GetTextWithinStructure(hwnd, NativeMethods.LVM_GETGROUPINFO, new IntPtr(item64.iGroupID), new
IntPtr
(&item64), Marshal.SizeOf(item64.GetType()), textAddress, size, true);
753
return XSend(hwnd, NativeMethods.TCM_GETITEMW, new IntPtr(index), new
IntPtr
(pItem), Marshal.SizeOf(item.GetType()));
760
bool result = XSend(hwnd, NativeMethods.TCM_GETITEMW, new IntPtr(index), new
IntPtr
(&item32), Marshal.SizeOf(item32.GetType()));
773
bool result = XSend(hwnd, NativeMethods.TCM_GETITEMW, new IntPtr(index), new
IntPtr
(&item64), Marshal.SizeOf(item64.GetType()));
794
return GetTextWithinStructure(hwnd, NativeMethods.TCM_GETITEMW, new IntPtr(index), new
IntPtr
(&item), Marshal.SizeOf(item.GetType()), new
IntPtr
(&item.pszText), item.cchTextMax);
801
new
IntPtr
(&item32), Marshal.SizeOf(item32.GetType()), new
IntPtr
(&item32.pszText),
809
return GetTextWithinStructure(hwnd, NativeMethods.TCM_GETITEMW, new IntPtr(index), new
IntPtr
(&item64), Marshal.SizeOf(item64.GetType()), new
IntPtr
(&item64.pszText), item64.cchTextMax);
835
return XSend(hwnd, NativeMethods.HDM_GETITEMW, new IntPtr(index), new
IntPtr
(pItem), Marshal.SizeOf(item.GetType()));
842
bool result = XSend(hwnd, NativeMethods.HDM_GETITEMW, new IntPtr(index), new
IntPtr
(&item32), Marshal.SizeOf(item32.GetType()));
855
bool result = XSend(hwnd, NativeMethods.HDM_GETITEMW, new IntPtr(index), new
IntPtr
(&item64), Marshal.SizeOf(item64.GetType()));
876
return GetTextWithinStructure(hwnd, NativeMethods.HDM_GETITEMW, new IntPtr(index), new
IntPtr
(&item), Marshal.SizeOf(item.GetType()), new
IntPtr
(&item.pszText), item.cchTextMax);
883
hwnd, NativeMethods.HDM_GETITEMW, new IntPtr(index), new
IntPtr
(&item32),
884
Marshal.SizeOf(item32.GetType()), new
IntPtr
(&item32.pszText), item32.cchTextMax,
891
return GetTextWithinStructure(hwnd, NativeMethods.HDM_GETITEMW, new IntPtr(index), new
IntPtr
(&item64), Marshal.SizeOf(item64.GetType()), new
IntPtr
(&item64.pszText), item64.cchTextMax);
917
return XSend(hwnd, NativeMethods.TVM_GETITEMW, IntPtr.Zero, new
IntPtr
(pItem), Marshal.SizeOf(item.GetType()));
924
bool result = XSend(hwnd, NativeMethods.TVM_GETITEMW, IntPtr.Zero, new
IntPtr
(&item32), Marshal.SizeOf(item32.GetType()));
937
bool result = XSend(hwnd, NativeMethods.TVM_GETITEMW, IntPtr.Zero, new
IntPtr
(&item64), Marshal.SizeOf(item64.GetType()));
958
return XSend(hwnd, NativeMethods.TVM_SETITEMW, IntPtr.Zero, new
IntPtr
(&item), Marshal.SizeOf(item.GetType()));
964
return XSend(hwnd, NativeMethods.TVM_SETITEMW, IntPtr.Zero, new
IntPtr
(&item32), Marshal.SizeOf(item32.GetType()));
970
return XSend(hwnd, NativeMethods.TVM_SETITEMW, IntPtr.Zero, new
IntPtr
(&item64), Marshal.SizeOf(item64.GetType()));
991
if (XSend(hwnd, NativeMethods.TVM_HITTEST, IntPtr.Zero, new
IntPtr
(&hitTestInfo),
1000
if (XSend(hwnd, NativeMethods.TVM_HITTEST, IntPtr.Zero, new
IntPtr
(&hitTestInfo32),
1009
if (XSend(hwnd, NativeMethods.TVM_HITTEST, IntPtr.Zero, new
IntPtr
(&hitTestInfo64),
1029
return GetTextWithinStructure(hwnd, NativeMethods.TVM_GETITEMW, IntPtr.Zero, new
IntPtr
(&item), Marshal.SizeOf(item.GetType()), new
IntPtr
(&item.pszText), item.cchTextMax);
1036
hwnd, NativeMethods.TVM_GETITEMW, IntPtr.Zero, new
IntPtr
(&item32),
1037
Marshal.SizeOf(item32.GetType()), new
IntPtr
(&item32.pszText), item32.cchTextMax,
1044
return GetTextWithinStructure(hwnd, NativeMethods.TVM_GETITEMW, IntPtr.Zero, new
IntPtr
(&item64), Marshal.SizeOf(item64.GetType()), new
IntPtr
(&item64.pszText), item64.cchTextMax);
1070
return XSend(hwnd, NativeMethods.TB_GETBUTTON, new IntPtr(index), new
IntPtr
(pItem), Marshal.SizeOf(item.GetType()), ErrorValue.Zero);
1077
bool result = XSend(hwnd, NativeMethods.TB_GETBUTTON, new IntPtr(index), new
IntPtr
(&item32), Marshal.SizeOf(item32.GetType()), ErrorValue.Zero);
1090
bool result = XSend(hwnd, NativeMethods.TB_GETBUTTON, new IntPtr(index), new
IntPtr
(&item64), Marshal.SizeOf(item64.GetType()), ErrorValue.Zero);
1127
hwnd, NativeMethods.TTM_GETTEXT, wParam, new
IntPtr
(&item),
1128
Marshal.SizeOf(item.GetType()), new
IntPtr
(&item.pszText), maxTextLength, true);
1135
hwnd, NativeMethods.TTM_GETTEXT, wParam, new
IntPtr
(&item32),
1136
Marshal.SizeOf(item32.GetType()), new
IntPtr
(&item32.pszText), maxTextLength,
1144
hwnd, NativeMethods.TTM_GETTEXT, wParam, new
IntPtr
(&item64),
1145
Marshal.SizeOf(item64.GetType()), new
IntPtr
(&item64.pszText), maxTextLength, true);
1185
IntPtr localRectStart = new
IntPtr
(&rectW32.left);
1353
XSend(hwnd, NativeMethods.LVM_GETGROUPINFO, new IntPtr(group.iGroupID), new
IntPtr
(&group), group.cbSize, ErrorValue.NoCheck);
1401
XSend(hwnd, NativeMethods.LVM_GETGROUPINFO, new IntPtr(group.iGroupID), new
IntPtr
(&group), group.cbSize, ErrorValue.NoCheck);
1449
XSend(hwnd, NativeMethods.LVM_GETGROUPINFO, new IntPtr(group.iGroupID), new
IntPtr
(&group), group.cbSize, ErrorValue.NoCheck);
MS\Internal\AutomationProxies\Misc.cs (1)
589
VirtualAlloc(new
IntPtr
((byte *)memAddr.ToPointer() + cbSize - pageSize), new UIntPtr(pageSize), UnsafeNativeMethods.MEM_COMMIT, UnsafeNativeMethods.PAGE_NOACCESS);
MS\Internal\AutomationProxies\WindowsHyperlink.cs (4)
219
bGetItemResult = XSendMessage.XSend(_hwnd, NativeMethods.LM_HITTEST, IntPtr.Zero, new
IntPtr
(&HitTestInfo), Marshal.SizeOf(HitTestInfo.GetType()));
284
return XSendMessage.XSend(_hwnd, NativeMethods.LM_GETITEM, IntPtr.Zero, new
IntPtr
(pLinkItem), sizeof(UnsafeNativeMethods.LITEM));
402
return XSendMessage.XSend(_hwnd, NativeMethods.LM_SETITEM, IntPtr.Zero, new
IntPtr
(&linkItem), Marshal.SizeOf(linkItem.GetType()));
499
bGetItemResult = XSendMessage.XSend(_hwnd, NativeMethods.LM_HITTEST, IntPtr.Zero, new
IntPtr
(&HitTestInfo), Marshal.SizeOf(HitTestInfo.GetType()));
MS\Internal\AutomationProxies\WindowsListView.cs (5)
1276
if (XSendMessage.XSend(hwnd, NativeMethods.LVM_GETITEMRECT, new IntPtr(item), new
IntPtr
(location), Marshal.SizeOf(itemRectangle.GetType())))
1426
result = XSendMessage.XSendGetIndex(hwnd, NativeMethods.LVM_SUBITEMHITTEST, IntPtr.Zero, new
IntPtr
(&hitTestNative), Marshal.SizeOf(hitTestNative.GetType()));
1434
result = XSendMessage.XSendGetIndex(hwnd, NativeMethods.LVM_SUBITEMHITTEST, IntPtr.Zero, new
IntPtr
(&hitTestNative), Marshal.SizeOf(hitTestNative.GetType()));
1497
if (XSendMessage.XSend(hwnd, NativeMethods.LVM_GETSUBITEMRECT, new IntPtr(item), new
IntPtr
(location), Marshal.SizeOf(itemRectangle.GetType())))
1798
if (XSendMessage.XSend(hwnd, NativeMethods.LVM_GETITEMPOSITION, new IntPtr(item), new
IntPtr
(location), Marshal.SizeOf(pt.GetType())))
MS\Internal\AutomationProxies\WindowsListViewGroup.cs (3)
309
XSendMessage.XSendGetIndex(_hwnd, NativeMethods.LVM_HITTEST, new IntPtr(-1), new
IntPtr
(&hitTestNative), Marshal.SizeOf(hitTestNative.GetType()));
340
bool lresult = XSendMessage.XSend(_hwnd, NativeMethods.LVM_GETGROUPINFOBYINDEX, new IntPtr(groupIndex), new
IntPtr
(&groupInfo), Marshal.SizeOf(typeof(NativeMethods.LVGROUP_V6)));
497
bool lresult = XSendMessage.XSend(hwnd, NativeMethods.LVM_GETGROUPINFOBYINDEX, new IntPtr(groupIndex), new
IntPtr
(&groupInfo), Marshal.SizeOf(typeof(NativeMethods.LVGROUP_V6)));
MS\Internal\AutomationProxies\WindowsListViewGroupHelper.cs (4)
388
while (XSendMessage.XSend (hwnd, NativeMethods.LVM_GETNEXTITEMINDEX, new
IntPtr
(&ii), flags, Marshal.SizeOf(ii.GetType())))
395
bool lresult = XSendMessage.XSend(hwnd, NativeMethods.LVM_GETGROUPINFOBYINDEX, new IntPtr(ii.iGroup), new
IntPtr
(&groupInfo), Marshal.SizeOf(typeof(NativeMethods.LVGROUP_V6)));
468
XSendMessage.XSend(_hwnd, NativeMethods.LVM_GETGROUPMETRICS, IntPtr.Zero, new
IntPtr
(&(metric.cbSize)), metric.cbSize, XSendMessage.ErrorValue.NoCheck);
705
new IntPtr(_groupID), new
IntPtr
(&rect), Marshal.SizeOf(rect.GetType()));
MS\Internal\AutomationProxies\WindowsListViewGroupSubsetLink.cs (1)
77
XSendMessage.XSend(_hwnd, NativeMethods.LVM_GETGROUPRECT, new IntPtr(0), new
IntPtr
(&rect), Marshal.SizeOf(rect.GetType()));
MS\Internal\AutomationProxies\WindowsListViewItem.cs (2)
137
if (XSendMessage.XSend(_hwnd, NativeMethods.LVM_GETITEMINDEXRECT, new
IntPtr
(&ii), new
IntPtr
(&itemRectangle), Marshal.SizeOf(ii.GetType()), Marshal.SizeOf(itemRectangle.GetType())))
MS\Internal\AutomationProxies\WindowsMenu.cs (2)
2605
if (!Misc.ReadProcessMemory(hProcess, dwItemData, new
IntPtr
(&msaaMenuInfo), new IntPtr(readSize), out count))
2628
if (Misc.ReadProcessMemory(hProcess, msaaMenuInfo.pszWText, new
IntPtr
(text), new IntPtr(readSize), out count))
MS\Internal\AutomationProxies\WindowsRebar.cs (3)
208
return XSendMessage.XSendGetIndex(_hwnd, NativeMethods.RB_HITTEST, IntPtr.Zero, new
IntPtr
(&rbHitTestInfo), Marshal.SizeOf(rbHitTestInfo.GetType()));
401
if (!XSendMessage.XSend(hwnd, NativeMethods.RB_GETRECT, new IntPtr(item), new
IntPtr
(&rectW32), Marshal.SizeOf(rectW32.GetType()), XSendMessage.ErrorValue.Zero))
435
if (XSendMessage.XSend(_hwnd, NativeMethods.RB_GETBANDINFOA, new IntPtr(_item), new
IntPtr
(&rebarBandInfo), Marshal.SizeOf(rebarBandInfo.GetType()), XSendMessage.ErrorValue.Zero))
MS\Internal\AutomationProxies\WindowsSlider.cs (2)
464
XSendMessage.XSend(hwnd, NativeMethods.TBM_GETCHANNELRECT, IntPtr.Zero, new
IntPtr
(&rcChannel), Marshal.SizeOf(rcChannel.GetType()), XSendMessage.ErrorValue.NoCheck);
476
XSendMessage.XSend(hwnd, NativeMethods.TBM_GETTHUMBRECT, IntPtr.Zero, new
IntPtr
(&rcThumb), Marshal.SizeOf(rcThumb.GetType()), XSendMessage.ErrorValue.NoCheck);
MS\Internal\AutomationProxies\WindowsSysHeader.cs (2)
168
index = XSendMessage.XSendGetIndex(_hwnd, NativeMethods.HDM_HITTEST, IntPtr.Zero, new
IntPtr
(&HitTestInfo), Marshal.SizeOf(HitTestInfo.GetType()));
578
result = XSendMessage.XSend(_hwnd, NativeMethods.HDM_GETITEMRECT, new IntPtr(index), new
IntPtr
(&rectW32), Marshal.SizeOf(rectW32.GetType()), XSendMessage.ErrorValue.Zero);
MS\Internal\AutomationProxies\WindowsTab.cs (3)
281
index = XSendMessage.XSendGetIndex(_hwnd, NativeMethods.TCM_HITTEST, IntPtr.Zero, new
IntPtr
(&hti), Marshal.SizeOf(hti.GetType()));
661
result = XSendMessage.XSend(hwnd, NativeMethods.TCM_GETITEMRECT, new IntPtr(count - 1), new
IntPtr
(&rectW32), Marshal.SizeOf(rectW32.GetType()), XSendMessage.ErrorValue.Zero);
1280
if (!XSendMessage.XSend(_hwnd, NativeMethods.TCM_GETITEMRECT, new IntPtr(_item), new
IntPtr
(&rectW32), Marshal.SizeOf(rectW32.GetType()), XSendMessage.ErrorValue.Zero))
MS\Internal\AutomationProxies\WindowsTreeView.cs (2)
559
IntPtr rectangle = new
IntPtr
(&(rc.left));
1607
if (!Misc.ReadProcessMemory(hProcess, pAddress, new
IntPtr
(&ent), new IntPtr(readSize), out count))