174 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.HttpSys.FunctionalTests (1)
DelegateTests.cs (1)
330
Marshal.Copy(new
IntPtr
(pSecurityDescriptor.Value), securityDescriptorBytes, 0, length);
Microsoft.Build.Tasks.Core (2)
ManifestUtil\mansign2.cs (2)
536
publicKeyBlob.pbData = new
IntPtr
(pbPublicKeyBlob);
877
IntPtr pvLicense = new
IntPtr
(pbLicense);
Microsoft.CodeAnalysis (1)
DiaSymReader\Writer\SymUnmanagedWriterImpl.cs (1)
370
Marshal.GetNativeVariantForObject(value, new
IntPtr
(&variant));
Microsoft.CodeAnalysis.Rebuild (1)
CompilationOptionsReader.cs (1)
277
Marshal.Copy(new
IntPtr
(contentPtr), content, 0, length);
Microsoft.ML.Data (14)
DataLoadSave\Binary\BinarySaver.cs (1)
557
Marshal.Copy(new
IntPtr
(&header), headerBytes, 0, Marshal.SizeOf(typeof(Header)));
DataLoadSave\Binary\UnsafeTypeOps.cs (12)
58
func(new
IntPtr
(pArray));
70
func(new
IntPtr
(pArray));
82
func(new
IntPtr
(pArray));
94
func(new
IntPtr
(pArray));
106
func(new
IntPtr
(pArray));
118
func(new
IntPtr
(pArray));
130
func(new
IntPtr
(pArray));
142
func(new
IntPtr
(pArray));
154
func(new
IntPtr
(pArray));
166
func(new
IntPtr
(pArray));
178
func(new
IntPtr
(pArray));
195
func(new
IntPtr
(pArray));
DataLoadSave\Transpose\TransposeSaver.cs (1)
179
Marshal.Copy(new
IntPtr
(&header), headerBytes, 0, Marshal.SizeOf(typeof(Header)));
PresentationCore (6)
MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (2)
527
Marshal.StructureToPtr(packetProperties[i], new
IntPtr
(pElement), false);
559
Marshal.DestroyStructure(new
IntPtr
(pElement), typeof(MS.Win32.Recognizer.PACKET_PROPERTY));
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\CharacterBuffer.cs (3)
221
return new
IntPtr
(((char*)gcHandle.AddrOfPinnedObject().ToPointer()) + offset);
320
return new
IntPtr
(((char*)gcHandle.AddrOfPinnedObject().ToPointer()) + offset);
429
return new
IntPtr
(_unsafeString + offset);
System\Windows\Media\GlyphTypeface.cs (1)
1280
Marshal.Copy(new
IntPtr
(pMilPathGeometry), data, 0, checked((int)size));
PresentationFramework (7)
MS\Internal\IO\Packaging\UnsafeIndexingFilterStream.cs (3)
94
IntPtr pBytesRead = new
IntPtr
(&bytesRead);
104
_oleStream.Read(new
IntPtr
(bufferPointer), count, pBytesRead);
135
IntPtr positionAddress = new
IntPtr
(&position);
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IEnumerable.cs (1)
516
____return_value__ = FindAdapter(new
IntPtr
(thisPtr))._Current;
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IReadOnlyList.cs (2)
264
____return_value__ = FindAdapter(new
IntPtr
(thisPtr)).GetAt(index);
285
____return_value__ = FindAdapter(new
IntPtr
(thisPtr)).IndexOf(Marshaler<T>.FromAbi(value), out __index);
System\Windows\Documents\ImmComposition.cs (1)
1375
Marshal.Copy(surrounding.ToCharArray(), 0, new
IntPtr
((void*)p), surrounding.Length);
ReachFramework (6)
PrintConfig\PTProvider.cs (6)
630
stream.Seek(0, 1 /* STREAM_SEEK_CUR */, new
IntPtr
(&iStreamPosition));
660
dst.Write(src, (int)byteCount, new
IntPtr
(&totalBytesWritten));
681
dst.Write(data, bytesToWrite, new
IntPtr
(&bytesWritten));
714
src.Read(dst, (int)byteCount, new
IntPtr
(&totalBytesRead));
735
src.Read(data, bytesToRead, new
IntPtr
(&bytesRead));
759
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)
76
module.BaseAddress = new
IntPtr
((void*)parsedLine.StartAddress);
System.Net.Ping (1)
System\Net\NetworkInformation\Ping.RawSocket.cs (1)
470
Marshal.Copy(new
IntPtr
(&icmpHeader), result, offset, icmpHeaderSize);
System.Private.CoreLib (8)
src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.FullGlobalizationData.cs (1)
84
regionPtr = new
IntPtr
(regionInAscii);
src\System\Runtime\InteropServices\Marshal.CoreCLR.cs (2)
114
AsAnyMarshaler marshaler = new AsAnyMarshaler(new
IntPtr
(&nativeArrayMarshalerState));
181
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)
375
return new
IntPtr
(pNative);
963
IntPtr pNativeHomeAddr = new
IntPtr
(&pNativeHome);
1170
new
IntPtr
(&pNativeHome));
UIAutomationClientSideProviders (119)
MS\Internal\AutomationProxies\CommonXSendMessage.cs (85)
88
IntPtr remoteTextArea = new
IntPtr
((byte*)rmem.Address.ToPointer() + cbSize);
122
rmem.ReadFrom(new
IntPtr
((byte*)rmem.Address.ToPointer() + cbSize), new
IntPtr
(pchRes), new IntPtr(maxLength * sizeof(char)));
408
return GetTextWithinStructure(hwnd, NativeMethods.LVM_GETITEMW, IntPtr.Zero, new
IntPtr
(&item), Marshal.SizeOf(item.GetType()), new
IntPtr
(&item.pszText), item.cchTextMax);
415
new
IntPtr
(&item32), Marshal.SizeOf(item32.GetType()), new
IntPtr
(&item32.pszText),
423
return GetTextWithinStructure(hwnd, NativeMethods.LVM_GETITEMW, IntPtr.Zero, new
IntPtr
(&item64), Marshal.SizeOf(item64.GetType()), new
IntPtr
(&item64.pszText), item64.cchTextMax);
437
return XSend(hwnd, NativeMethods.LVM_SETITEMSTATE, new IntPtr(index), new
IntPtr
(&item), Marshal.SizeOf(item.GetType()));
443
return XSend(hwnd, NativeMethods.LVM_SETITEMSTATE, new IntPtr(index), new
IntPtr
(&item32), Marshal.SizeOf(item32.GetType()));
449
return XSend(hwnd, NativeMethods.LVM_SETITEMSTATE, new IntPtr(index), new
IntPtr
(&item64), Marshal.SizeOf(item64.GetType()));
465
return XSend(hwnd, NativeMethods.LVM_GETITEMW, IntPtr.Zero, new
IntPtr
(pItem), Marshal.SizeOf(item.GetType()), XSendMessage.ErrorValue.NoCheck);
472
bool result = XSend(hwnd, NativeMethods.LVM_GETITEMW, IntPtr.Zero, new
IntPtr
(&item32), Marshal.SizeOf(item32.GetType()), XSendMessage.ErrorValue.NoCheck);
484
bool result = XSend(hwnd, NativeMethods.LVM_GETITEMW, IntPtr.Zero, new
IntPtr
(&item64), Marshal.SizeOf(item64.GetType()), XSendMessage.ErrorValue.NoCheck);
505
new IntPtr(group.iGroupID), new
IntPtr
(&group), Marshal.SizeOf(group.GetType()));
512
new IntPtr(group.iGroupID), new
IntPtr
(&group32), Marshal.SizeOf(group32.GetType()));
519
new IntPtr(group.iGroupID), new
IntPtr
(&group64), Marshal.SizeOf(group64.GetType()));
538
new IntPtr(group.iGroupID), new
IntPtr
(pGroup), Marshal.SizeOf(group.GetType()));
549
new IntPtr(group.iGroupID), new
IntPtr
(&group32), Marshal.SizeOf(group32.GetType()));
560
new IntPtr(group.iGroupID), new
IntPtr
(&group64), Marshal.SizeOf(group64.GetType()));
583
new IntPtr(group.iGroupID), new
IntPtr
(pGroup), Marshal.SizeOf(group.GetType()));
594
new IntPtr(group.iGroupID), new
IntPtr
(&group32), Marshal.SizeOf(group32.GetType()));
605
new IntPtr(group.iGroupID), new
IntPtr
(&group64), Marshal.SizeOf(group64.GetType()));
630
return GetTextWithinStructure(hwnd, NativeMethods.LVM_GETGROUPINFO, new IntPtr(item.iGroupID), new
IntPtr
(&item), Marshal.SizeOf(item.GetType()), new
IntPtr
(&item.pszHeader), item.cchHeader);
642
return GetTextWithinStructure(hwnd, NativeMethods.LVM_GETGROUPINFO, new IntPtr(item32.iGroupID), new
IntPtr
(&item32), Marshal.SizeOf(item32.GetType()), new
IntPtr
(&item32.pszHeader), item32.cchHeader);
654
return GetTextWithinStructure(hwnd, NativeMethods.LVM_GETGROUPINFO, new IntPtr(item64.iGroupID), new
IntPtr
(&item64), Marshal.SizeOf(item64.GetType()), new
IntPtr
(&item64.pszHeader), item64.cchHeader);
680
textAddress = new
IntPtr
(&item.pszHeader);
685
textAddress = new
IntPtr
(&item.pszSubsetTitle);
689
return GetTextWithinStructure(hwnd, NativeMethods.LVM_GETGROUPINFO, new IntPtr(item.iGroupID), new
IntPtr
(&item), Marshal.SizeOf(item.GetType()), textAddress, size, true);
698
textAddress = new
IntPtr
(&item32.pszHeader);
703
textAddress = new
IntPtr
(&item32.pszSubsetTitle);
707
return GetTextWithinStructure(hwnd, NativeMethods.LVM_GETGROUPINFO, new IntPtr(item32.iGroupID), new
IntPtr
(&item32), Marshal.SizeOf(item32.GetType()), textAddress, size, true);
716
textAddress = new
IntPtr
(&item64.pszHeader);
721
textAddress = new
IntPtr
(&item64.pszSubsetTitle);
725
return GetTextWithinStructure(hwnd, NativeMethods.LVM_GETGROUPINFO, new IntPtr(item64.iGroupID), new
IntPtr
(&item64), Marshal.SizeOf(item64.GetType()), textAddress, size, true);
751
return XSend(hwnd, NativeMethods.TCM_GETITEMW, new IntPtr(index), new
IntPtr
(pItem), Marshal.SizeOf(item.GetType()));
758
bool result = XSend(hwnd, NativeMethods.TCM_GETITEMW, new IntPtr(index), new
IntPtr
(&item32), Marshal.SizeOf(item32.GetType()));
771
bool result = XSend(hwnd, NativeMethods.TCM_GETITEMW, new IntPtr(index), new
IntPtr
(&item64), Marshal.SizeOf(item64.GetType()));
792
return GetTextWithinStructure(hwnd, NativeMethods.TCM_GETITEMW, new IntPtr(index), new
IntPtr
(&item), Marshal.SizeOf(item.GetType()), new
IntPtr
(&item.pszText), item.cchTextMax);
799
new
IntPtr
(&item32), Marshal.SizeOf(item32.GetType()), new
IntPtr
(&item32.pszText),
807
return GetTextWithinStructure(hwnd, NativeMethods.TCM_GETITEMW, new IntPtr(index), new
IntPtr
(&item64), Marshal.SizeOf(item64.GetType()), new
IntPtr
(&item64.pszText), item64.cchTextMax);
833
return XSend(hwnd, NativeMethods.HDM_GETITEMW, new IntPtr(index), new
IntPtr
(pItem), Marshal.SizeOf(item.GetType()));
840
bool result = XSend(hwnd, NativeMethods.HDM_GETITEMW, new IntPtr(index), new
IntPtr
(&item32), Marshal.SizeOf(item32.GetType()));
853
bool result = XSend(hwnd, NativeMethods.HDM_GETITEMW, new IntPtr(index), new
IntPtr
(&item64), Marshal.SizeOf(item64.GetType()));
874
return GetTextWithinStructure(hwnd, NativeMethods.HDM_GETITEMW, new IntPtr(index), new
IntPtr
(&item), Marshal.SizeOf(item.GetType()), new
IntPtr
(&item.pszText), item.cchTextMax);
881
hwnd, NativeMethods.HDM_GETITEMW, new IntPtr(index), new
IntPtr
(&item32),
882
Marshal.SizeOf(item32.GetType()), new
IntPtr
(&item32.pszText), item32.cchTextMax,
889
return GetTextWithinStructure(hwnd, NativeMethods.HDM_GETITEMW, new IntPtr(index), new
IntPtr
(&item64), Marshal.SizeOf(item64.GetType()), new
IntPtr
(&item64.pszText), item64.cchTextMax);
915
return XSend(hwnd, NativeMethods.TVM_GETITEMW, IntPtr.Zero, new
IntPtr
(pItem), Marshal.SizeOf(item.GetType()));
922
bool result = XSend(hwnd, NativeMethods.TVM_GETITEMW, IntPtr.Zero, new
IntPtr
(&item32), Marshal.SizeOf(item32.GetType()));
935
bool result = XSend(hwnd, NativeMethods.TVM_GETITEMW, IntPtr.Zero, new
IntPtr
(&item64), Marshal.SizeOf(item64.GetType()));
956
return XSend(hwnd, NativeMethods.TVM_SETITEMW, IntPtr.Zero, new
IntPtr
(&item), Marshal.SizeOf(item.GetType()));
962
return XSend(hwnd, NativeMethods.TVM_SETITEMW, IntPtr.Zero, new
IntPtr
(&item32), Marshal.SizeOf(item32.GetType()));
968
return XSend(hwnd, NativeMethods.TVM_SETITEMW, IntPtr.Zero, new
IntPtr
(&item64), Marshal.SizeOf(item64.GetType()));
989
if (XSend(hwnd, NativeMethods.TVM_HITTEST, IntPtr.Zero, new
IntPtr
(&hitTestInfo),
998
if (XSend(hwnd, NativeMethods.TVM_HITTEST, IntPtr.Zero, new
IntPtr
(&hitTestInfo32),
1007
if (XSend(hwnd, NativeMethods.TVM_HITTEST, IntPtr.Zero, new
IntPtr
(&hitTestInfo64),
1027
return GetTextWithinStructure(hwnd, NativeMethods.TVM_GETITEMW, IntPtr.Zero, new
IntPtr
(&item), Marshal.SizeOf(item.GetType()), new
IntPtr
(&item.pszText), item.cchTextMax);
1034
hwnd, NativeMethods.TVM_GETITEMW, IntPtr.Zero, new
IntPtr
(&item32),
1035
Marshal.SizeOf(item32.GetType()), new
IntPtr
(&item32.pszText), item32.cchTextMax,
1042
return GetTextWithinStructure(hwnd, NativeMethods.TVM_GETITEMW, IntPtr.Zero, new
IntPtr
(&item64), Marshal.SizeOf(item64.GetType()), new
IntPtr
(&item64.pszText), item64.cchTextMax);
1068
return XSend(hwnd, NativeMethods.TB_GETBUTTON, new IntPtr(index), new
IntPtr
(pItem), Marshal.SizeOf(item.GetType()), ErrorValue.Zero);
1075
bool result = XSend(hwnd, NativeMethods.TB_GETBUTTON, new IntPtr(index), new
IntPtr
(&item32), Marshal.SizeOf(item32.GetType()), ErrorValue.Zero);
1088
bool result = XSend(hwnd, NativeMethods.TB_GETBUTTON, new IntPtr(index), new
IntPtr
(&item64), Marshal.SizeOf(item64.GetType()), ErrorValue.Zero);
1125
hwnd, NativeMethods.TTM_GETTEXT, wParam, new
IntPtr
(&item),
1126
Marshal.SizeOf(item.GetType()), new
IntPtr
(&item.pszText), maxTextLength, true);
1133
hwnd, NativeMethods.TTM_GETTEXT, wParam, new
IntPtr
(&item32),
1134
Marshal.SizeOf(item32.GetType()), new
IntPtr
(&item32.pszText), maxTextLength,
1142
hwnd, NativeMethods.TTM_GETTEXT, wParam, new
IntPtr
(&item64),
1143
Marshal.SizeOf(item64.GetType()), new
IntPtr
(&item64.pszText), maxTextLength, true);
1183
IntPtr localRectStart = new
IntPtr
(&rectW32.left);
1351
XSend(hwnd, NativeMethods.LVM_GETGROUPINFO, new IntPtr(group.iGroupID), new
IntPtr
(&group), group.cbSize, ErrorValue.NoCheck);
1399
XSend(hwnd, NativeMethods.LVM_GETGROUPINFO, new IntPtr(group.iGroupID), new
IntPtr
(&group), group.cbSize, ErrorValue.NoCheck);
1447
XSend(hwnd, NativeMethods.LVM_GETGROUPINFO, new IntPtr(group.iGroupID), new
IntPtr
(&group), group.cbSize, ErrorValue.NoCheck);
MS\Internal\AutomationProxies\Misc.cs (1)
581
VirtualAlloc(new
IntPtr
((byte *)memAddr.ToPointer() + cbSize - pageSize), new UIntPtr(pageSize), UnsafeNativeMethods.MEM_COMMIT, UnsafeNativeMethods.PAGE_NOACCESS);
MS\Internal\AutomationProxies\WindowsHyperlink.cs (4)
211
bGetItemResult = XSendMessage.XSend(_hwnd, NativeMethods.LM_HITTEST, IntPtr.Zero, new
IntPtr
(&HitTestInfo), Marshal.SizeOf(HitTestInfo.GetType()));
276
return XSendMessage.XSend(_hwnd, NativeMethods.LM_GETITEM, IntPtr.Zero, new
IntPtr
(pLinkItem), sizeof(UnsafeNativeMethods.LITEM));
395
return XSendMessage.XSend(_hwnd, NativeMethods.LM_SETITEM, IntPtr.Zero, new
IntPtr
(&linkItem), Marshal.SizeOf(linkItem.GetType()));
492
bGetItemResult = XSendMessage.XSend(_hwnd, NativeMethods.LM_HITTEST, IntPtr.Zero, new
IntPtr
(&HitTestInfo), Marshal.SizeOf(HitTestInfo.GetType()));
MS\Internal\AutomationProxies\WindowsListView.cs (5)
1269
if (XSendMessage.XSend(hwnd, NativeMethods.LVM_GETITEMRECT, new IntPtr(item), new
IntPtr
(location), Marshal.SizeOf(itemRectangle.GetType())))
1420
result = XSendMessage.XSendGetIndex(hwnd, NativeMethods.LVM_SUBITEMHITTEST, IntPtr.Zero, new
IntPtr
(&hitTestNative), Marshal.SizeOf(hitTestNative.GetType()));
1429
result = XSendMessage.XSendGetIndex(hwnd, NativeMethods.LVM_SUBITEMHITTEST, IntPtr.Zero, new
IntPtr
(&hitTestNative), Marshal.SizeOf(hitTestNative.GetType()));
1493
if (XSendMessage.XSend(hwnd, NativeMethods.LVM_GETSUBITEMRECT, new IntPtr(item), new
IntPtr
(location), Marshal.SizeOf(itemRectangle.GetType())))
1792
if (XSendMessage.XSend(hwnd, NativeMethods.LVM_GETITEMPOSITION, new IntPtr(item), new
IntPtr
(location), Marshal.SizeOf(pt.GetType())))
MS\Internal\AutomationProxies\WindowsListViewGroup.cs (3)
306
XSendMessage.XSendGetIndex(_hwnd, NativeMethods.LVM_HITTEST, new IntPtr(-1), new
IntPtr
(&hitTestNative), Marshal.SizeOf(hitTestNative.GetType()));
337
bool lresult = XSendMessage.XSend(_hwnd, NativeMethods.LVM_GETGROUPINFOBYINDEX, new IntPtr(groupIndex), new
IntPtr
(&groupInfo), Marshal.SizeOf(typeof(NativeMethods.LVGROUP_V6)));
495
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)
386
while (XSendMessage.XSend (hwnd, NativeMethods.LVM_GETNEXTITEMINDEX, new
IntPtr
(&ii), flags, Marshal.SizeOf(ii.GetType())))
393
bool lresult = XSendMessage.XSend(hwnd, NativeMethods.LVM_GETGROUPINFOBYINDEX, new IntPtr(ii.iGroup), new
IntPtr
(&groupInfo), Marshal.SizeOf(typeof(NativeMethods.LVGROUP_V6)));
466
XSendMessage.XSend(_hwnd, NativeMethods.LVM_GETGROUPMETRICS, IntPtr.Zero, new
IntPtr
(&(metric.cbSize)), metric.cbSize, XSendMessage.ErrorValue.NoCheck);
703
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)
133
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)
2596
if (!Misc.ReadProcessMemory(hProcess, dwItemData, new
IntPtr
(&msaaMenuInfo), new IntPtr(readSize), out count))
2619
if (Misc.ReadProcessMemory(hProcess, msaaMenuInfo.pszWText, new
IntPtr
(text), new IntPtr(readSize), out count))
MS\Internal\AutomationProxies\WindowsRebar.cs (3)
206
return XSendMessage.XSendGetIndex(_hwnd, NativeMethods.RB_HITTEST, IntPtr.Zero, new
IntPtr
(&rbHitTestInfo), Marshal.SizeOf(rbHitTestInfo.GetType()));
399
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)
460
XSendMessage.XSend(hwnd, NativeMethods.TBM_GETCHANNELRECT, IntPtr.Zero, new
IntPtr
(&rcChannel), Marshal.SizeOf(rcChannel.GetType()), XSendMessage.ErrorValue.NoCheck);
472
XSendMessage.XSend(hwnd, NativeMethods.TBM_GETTHUMBRECT, IntPtr.Zero, new
IntPtr
(&rcThumb), Marshal.SizeOf(rcThumb.GetType()), XSendMessage.ErrorValue.NoCheck);
MS\Internal\AutomationProxies\WindowsSysHeader.cs (2)
161
index = XSendMessage.XSendGetIndex(_hwnd, NativeMethods.HDM_HITTEST, IntPtr.Zero, new
IntPtr
(&HitTestInfo), Marshal.SizeOf(HitTestInfo.GetType()));
568
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)
276
index = XSendMessage.XSendGetIndex(_hwnd, NativeMethods.TCM_HITTEST, IntPtr.Zero, new
IntPtr
(&hti), Marshal.SizeOf(hti.GetType()));
653
result = XSendMessage.XSend(hwnd, NativeMethods.TCM_GETITEMRECT, new IntPtr(count - 1), new
IntPtr
(&rectW32), Marshal.SizeOf(rectW32.GetType()), XSendMessage.ErrorValue.Zero);
1272
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)
552
IntPtr rectangle = new
IntPtr
(&(rc.left));
1600
if (!Misc.ReadProcessMemory(hProcess, pAddress, new
IntPtr
(&ent), new IntPtr(readSize), out count))