26 instantiations of UIntPtr
mscorlib (18)
system\runtime\interopservices\marshal.cs (7)
1187numBytes = new UIntPtr(unchecked((uint)cb.ToInt32())); 1248UIntPtr len = new UIntPtr((uint)nb); 1279UIntPtr len = new UIntPtr((uint)nb); 1856IntPtr pNewMem = Win32Native.CoTaskMemAlloc(new UIntPtr((uint)cb)); 1879IntPtr hglobal = Win32Native.CoTaskMemAlloc(new UIntPtr((uint)nb)); 1918IntPtr hglobal = Win32Native.CoTaskMemAlloc(new UIntPtr((uint)nb)); 1943IntPtr pNewMem = Win32Native.CoTaskMemRealloc(pv, new UIntPtr((uint)cb));
system\runtime\memoryfailpoint.cs (1)
255UIntPtr numBytes = new UIntPtr(segmentSize);
system\security\principal\windowsidentity.cs (4)
952UIntPtr ptrLength = new UIntPtr(dwLength); 985UIntPtr ptrLength = new UIntPtr((uint)(sourceName.Length + 1)); 1037ptrLength = new UIntPtr((uint)arrayPackageName.Length); 1074using (SafeLocalAllocHandle logonInfoBuffer = Win32Native.LocalAlloc(Win32Native.LPTR, new UIntPtr(logonInfoSize))) {
system\threading\Tasks\Task.cs (1)
7079UIntPtr currentAddr = new UIntPtr(&stackInfo - pageSize);
system\uintptr.cs (5)
127return new UIntPtr(value); 133return new UIntPtr(value); 159return new UIntPtr(value); 194return new UIntPtr(pointer.ToUInt32() + (uint)offset); 208return new UIntPtr(pointer.ToUInt32() - (uint)offset);
PresentationCore (1)
Graphics\include\exports.cs (1)
2484UIntPtr hWndUIntPtr = new UIntPtr(hWnd.ToPointer());
System.Core (1)
System\IO\MemoryMappedFiles\MemoryMappedView.cs (1)
117MemoryMappedFile.GetFileMapAccess(access), offsetHigh, offsetLow, new UIntPtr(nativeSize));
System.Drawing (1)
commonui\System\Drawing\Advanced\Gdiplus.cs (1)
4182return IntGlobalAlloc(uFlags, new UIntPtr(dwBytes));
System.Web (2)
Util\altserialization.cs (2)
261value = new UIntPtr(reader.ReadUInt32()); 265value = new UIntPtr(reader.ReadUInt64());
UIAutomationClientsideProviders (3)
MS\Internal\AutomationProxies\CommonRemoteMemoryBlock.cs (1)
54SetHandle(Misc.VirtualAllocEx(_processHandle, IntPtr.Zero, new UIntPtr((uint)cbSize), UnsafeNativeMethods.MEM_COMMIT, UnsafeNativeMethods.PAGE_READWRITE));
MS\Internal\AutomationProxies\Misc.cs (2)
595memAddr = VirtualAlloc(IntPtr.Zero, new UIntPtr(cbSize), UnsafeNativeMethods.MEM_COMMIT, UnsafeNativeMethods.PAGE_READWRITE); 598VirtualAlloc(new IntPtr((byte *)memAddr.ToPointer() + cbSize - pageSize), new UIntPtr(pageSize), UnsafeNativeMethods.MEM_COMMIT, UnsafeNativeMethods.PAGE_NOACCESS);
463 references to UIntPtr
mscorlib (106)
microsoft\win32\win32native.cs (11)
705internal UIntPtr RegionSize; 763internal static extern IntPtr LocalAlloc_NoSafeHandle(int uFlags, UIntPtr sizetdwBytes); 771[In] UIntPtr sizetdwBytes); 783internal static extern void ZeroMemory(IntPtr address, UIntPtr length); 798unsafe internal static extern UIntPtr VirtualQuery(void* address, ref MEMORY_BASIC_INFORMATION buffer, UIntPtr sizeOfBuffer); 806unsafe internal static extern void * VirtualAlloc(void* address, UIntPtr numBytes, int commitOrReserve, int pageProtectionMode); 811unsafe internal static extern bool VirtualFree(void* address, UIntPtr numBytes, int pageFreeMode); 1023SafeFileMappingHandle handle, uint dwDesiredAccess, uint dwFileOffsetHigh, uint dwFileOffsetLow, UIntPtr dwNumerOfBytesToMap); 1559internal static extern IntPtr CoTaskMemAlloc(UIntPtr cb); 1563internal static extern IntPtr CoTaskMemRealloc(IntPtr pv, UIntPtr cb);
system\activationcontext.cs (1)
286_actContext.GetApplicationStateFilesystemLocation(1, UIntPtr.Zero, IntPtr.Zero, out s);
system\deployment\isolationinterop.cs (10)
3193[In] UIntPtr cProperties, 3196[Out, MarshalAs(UnmanagedType.LPArray)] out UIntPtr[] ComponentIndicies 3266[In] UIntPtr Component, 3274[In] UIntPtr ComponentCount, 3276[Out, MarshalAs(UnmanagedType.LPArray)] UIntPtr[] Indicies, 3283[In] UIntPtr Components, 3285[Out, MarshalAs(UnmanagedType.LPArray)] UIntPtr[] Indicies, 3304[In] UIntPtr Inputs, 3305ref UIntPtr Outputs 3321[In] UIntPtr Coordinates,
System\Diagnostics\Eventing\TraceLogging\SimpleTypeInfos.cs (4)
246: TraceLoggingTypeInfo<UIntPtr> 256public override void WriteData(TraceLoggingDataCollector collector, ref UIntPtr value) 558: TraceLoggingTypeInfo<UIntPtr[]> 568public override void WriteData(TraceLoggingDataCollector collector, ref UIntPtr[] value)
System\Diagnostics\Eventing\TraceLogging\Statics.cs (2)
653else if (elementType == typeof(UIntPtr)) 773else if (dataType == typeof(UIntPtr))
System\Diagnostics\Eventing\TraceLogging\TraceLoggingDataCollector.cs (4)
159public void AddScalar(UIntPtr value) 161DataCollector.ThreadInstance.AddScalar(&value, UIntPtr.Size); 332public void AddArray(UIntPtr[] value) 334DataCollector.ThreadInstance.AddArray(value, value == null ? 0 : value.Length, UIntPtr.Size);
system\enum.cs (2)
724return *(UIntPtr*)pValue; 787return (*(UIntPtr*)pValue).GetHashCode();
system\exception.cs (4)
54_ipForWatsonBuckets = UIntPtr.Zero; 650_ipForWatsonBuckets = UIntPtr.Zero; 718internal UIntPtr IPForWatsonBuckets 898private UIntPtr _ipForWatsonBuckets; // Used to persist the IP for Watson Bucketing
system\runtime\compilerservices\AsyncMethodBuilder.cs (3)
784(typeof(TResult) == typeof(UIntPtr) && default(UIntPtr) == (UIntPtr)(object)result))
system\runtime\exceptionservices\exceptionservicescommon.cs (2)
38private UIntPtr m_IPForWatsonBuckets; 59internal UIntPtr IPForWatsonBuckets
system\runtime\interopservices\marshal.cs (8)
1185UIntPtr numBytes; 1248UIntPtr len = new UIntPtr((uint)nb); 1279UIntPtr len = new UIntPtr((uint)nb); 2695Win32Native.ZeroMemory(s, (UIntPtr)(Win32Native.SysStringLen(s) * 2)); 2703Win32Native.ZeroMemory(s, (UIntPtr)(Win32Native.lstrlenA(s))); 2710Win32Native.ZeroMemory(s, (UIntPtr)(Win32Native.lstrlenW(s) * 2)); 2736Win32Native.ZeroMemory(s, (UIntPtr)(Win32Native.lstrlenA(s))); 2742Win32Native.ZeroMemory(s, (UIntPtr)(Win32Native.lstrlenW(s) * 2));
system\runtime\interopservices\safebuffer.cs (7)
86private static readonly UIntPtr Uninitialized = (UIntPtr.Size == 4) ? 87((UIntPtr) UInt32.MaxValue) : ((UIntPtr) UInt64.MaxValue); 89private UIntPtr _numBytes; 113_numBytes = (UIntPtr) numBytes; 135_numBytes = checked((UIntPtr) (numElements * sizeOfEachElement));
system\runtime\memoryfailpoint.cs (6)
255UIntPtr numBytes = new UIntPtr(segmentSize); 259bool r = Win32Native.VirtualFree(pMemory, UIntPtr.Zero, Win32Native.MEM_RELEASE); 371UIntPtr sizeOfMemInfo = (UIntPtr) Marshal.SizeOf(memInfo); 374UIntPtr r = Win32Native.VirtualQuery(address, ref memInfo, sizeOfMemInfo); 375if (r == UIntPtr.Zero)
system\security\principal\windowsidentity.cs (2)
952UIntPtr ptrLength = new UIntPtr(dwLength); 985UIntPtr ptrLength = new UIntPtr((uint)(sourceName.Length + 1));
system\security\securestring.cs (5)
514Win32Native.ZeroMemory(ptr, (UIntPtr)(length * 2)); 571Win32Native.ZeroMemory(ptr, (UIntPtr)(length * 2)); 634Win32Native.ZeroMemory(ptr, (UIntPtr)byteCount); 699Win32Native.ZeroMemory(handle, (UIntPtr) (Win32Native.SysStringLen(handle) * 2)); 711Win32Native.ZeroMemory((IntPtr)bufferPtr, (UIntPtr) (Win32Native.SysStringLen((IntPtr)bufferPtr) * 2));
system\stubhelpers.cs (1)
1052else if (elementType == typeof(UIntPtr))
system\threading\Tasks\Task.cs (3)
7079UIntPtr currentAddr = new UIntPtr(&stackInfo - pageSize); 7088Win32Native.VirtualQuery(currentAddr.ToPointer(), ref stackInfo, (UIntPtr)(sizeof(Win32Native.MEMORY_BASIC_INFORMATION))); 7094if ((current64 - ((UIntPtr)stackInfo.AllocationBase).ToUInt64()) > STACK_RESERVED_SPACE)
system\threading\thread.cs (5)
1651public static UIntPtr VolatileRead(ref UIntPtr address) 1653UIntPtr ret = address; 1752public static void VolatileWrite(ref UIntPtr address, UIntPtr value)
system\threading\volatile.cs (5)
165public static UIntPtr Read(ref UIntPtr location) 170var value = location; 348public static void Write(ref UIntPtr location, UIntPtr value)
system\uintptr.cs (21)
32public static readonly UIntPtr Zero; 86if (obj is UIntPtr) { 87return (m_value == ((UIntPtr)obj).m_value); 125public static explicit operator UIntPtr (uint value) 131public static explicit operator UIntPtr (ulong value) 138public unsafe static explicit operator uint(UIntPtr value) 149public unsafe static explicit operator ulong (UIntPtr value) 157public static unsafe explicit operator UIntPtr (void* value) 165public static unsafe explicit operator void* (UIntPtr value) 173public unsafe static bool operator == (UIntPtr value1, UIntPtr value2) 181public unsafe static bool operator != (UIntPtr value1, UIntPtr value2) 187public static UIntPtr Add(UIntPtr pointer, int offset) { 192public static UIntPtr operator +(UIntPtr pointer, int offset) { 201public static UIntPtr Subtract(UIntPtr pointer, int offset) { 206public static UIntPtr operator -(UIntPtr pointer, int offset) {
PresentationCore (1)
Graphics\include\exports.cs (1)
2484UIntPtr hWndUIntPtr = new UIntPtr(hWnd.ToPointer());
System (27)
compmod\microsoft\win32\NativeMethods.cs (1)
1799internal UIntPtr RegionSize;
compmod\microsoft\win32\safehandles\SafeFileMapViewHandle.cs (1)
40internal static extern SafeFileMapViewHandle MapViewOfFile(SafeFileMappingHandle hFileMappingObject, int dwDesiredAccess, int dwFileOffsetHigh, int dwFileOffsetLow, UIntPtr dwNumberOfBytesToMap);
net\System\Net\_SafeNetHandles.cs (3)
665SafeLocalFree result = UnsafeNclNativeMethods.SafeNetHandles.LocalAlloc(LMEM_FIXED, (UIntPtr) cb); 716SafeOverlappedFree result = UnsafeNclNativeMethods.SafeNetHandlesSafeOverlappedFree.LocalAlloc(LPTR, (UIntPtr) Win32.OverlappedSize); 2829result = UnsafeNclNativeMethods.SafeNetHandles.LocalAllocChannelBinding(LMEM_FIXED, (UIntPtr)cb);
net\System\Net\Sockets\_ReceiveMessageOverlappedAsyncResult.cs (2)
144if(controlData.length != UIntPtr.Zero) 153if (controlData.length != UIntPtr.Zero)
net\System\Net\Sockets\Socket.cs (2)
9953if(controlData.length != UIntPtr.Zero) { 9961if(controlData.length != UIntPtr.Zero) {
net\System\Net\UnsafeNativeMethods.cs (5)
623internal static extern SafeOverlappedFree LocalAlloc(int uFlags, UIntPtr sizetdwBytes); 667internal static extern SafeLocalFree LocalAlloc(int uFlags, UIntPtr sizetdwBytes); 670internal static extern SafeLocalFreeChannelBinding LocalAllocChannelBinding(int uFlags, UIntPtr sizetdwBytes); 917internal UIntPtr length; 926internal UIntPtr length;
services\monitoring\system\diagnosticts\ProcessManager.cs (12)
1301internal UIntPtr PageDirectoryBase; 1302internal UIntPtr PeakVirtualSize; // SIZE_T 1303internal UIntPtr VirtualSize; 1306internal UIntPtr PeakWorkingSetSize; 1307internal UIntPtr WorkingSetSize; 1308internal UIntPtr QuotaPeakPagedPoolUsage; 1309internal UIntPtr QuotaPagedPoolUsage; 1310internal UIntPtr QuotaPeakNonPagedPoolUsage; 1311internal UIntPtr QuotaNonPagedPoolUsage; 1312internal UIntPtr PagefileUsage; 1313internal UIntPtr PeakPagefileUsage; 1314internal UIntPtr PrivatePageCount;
services\monitoring\system\diagnosticts\SharedPerformanceCounter.cs (1)
1617fileViewAddress = SafeFileMapViewHandle.MapViewOfFile(fileMappingHandle, NativeMethods.FILE_MAP_WRITE, 0,0, UIntPtr.Zero);
System.AddIn (1)
System\Addin\MiniReflection\MiniParameterInfo.cs (1)
107return new TypeInfo(typeof(UIntPtr));
System.Core (4)
Microsoft\Win32\UnsafeNativeMethods.cs (3)
1386internal UIntPtr RegionSize; 1465UIntPtr dwNumberOfBytesToMap 1472UIntPtr numBytes,
System\IO\MemoryMappedFiles\MemoryMappedView.cs (1)
140IntPtr tempHandle = UnsafeNativeMethods.VirtualAlloc(viewHandle, (UIntPtr)allocSize, UnsafeNativeMethods.MEM_COMMIT,
System.Data (284)
fx\src\bid\inc\cs\bidPrivateBase.cs (44)
185NativeMethods.PutStr(modID, UIntPtr.Zero, (UIntPtr)ModeFlags.Default, str); 236NativeMethods.Trace(modID, UIntPtr.Zero, UIntPtr.Zero, strConst); 242NativeMethods.Trace(modID, UIntPtr.Zero, (UIntPtr)flags, strConst); 248NativeMethods.Trace(modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW, a1); 254NativeMethods.Trace(modID, UIntPtr.Zero, (UIntPtr)flags, fmtPrintfW, a1); 263if (hScp != NoData) NativeMethods.ScopeLeave(modID, UIntPtr.Zero, UIntPtr.Zero, ref hScp); 282NativeMethods.ScopeEnter(modID, UIntPtr.Zero, UIntPtr.Zero, out hScp, strConst); 291NativeMethods.ScopeEnter(modID, UIntPtr.Zero, UIntPtr.Zero, out hScp, fmtPrintfW, a1); 300NativeMethods.ScopeEnter(modID, UIntPtr.Zero, UIntPtr.Zero, out hScp, fmtPrintfW, a1, a2); 428NativeMethods.PutStr(modID, UIntPtr.Zero, (UIntPtr)ModeFlags.SmartNewLine, constStrHeader); 433NativeMethods.TraceBin( modID, UIntPtr.Zero, (UIntPtr)Bid.ModeFlags.Blob, 446NativeMethods.TraceBin( modID, UIntPtr.Zero, (UIntPtr)Bid.ModeFlags.Blob, 677NativeMethods.PutStr(modID, UIntPtr.Zero, (UIntPtr)ModeFlags.SmartNewLine, strConst); 684NativeMethods.PutStr(modID, UIntPtr.Zero, (UIntPtr)ModeFlags.SmartNewLine, 990internal static void PutStr(IntPtr hID, UIntPtr src, UIntPtr info, string str); 998internal static void Trace(IntPtr hID, UIntPtr src, UIntPtr info, string strConst); 1003internal static void Trace(IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, string a1); 1010internal static void ScopeLeave(IntPtr hID, UIntPtr src, UIntPtr info, ref IntPtr hScp); 1015internal static void ScopeEnter(IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string strConst); 1020internal static void ScopeEnter( IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, 1026internal static void ScopeEnter( IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, 1048internal static void TraceBin(IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, byte[] buff, UInt32 len);
fx\src\data\System\Data\Common\System.Data_BID.cs (240)
79NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW, a1); 85NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW, a1,a2); 91NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW, a1,a2,a3); 97NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW, a1,a2,a3,a4); 106NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW, a1,a2.ToString()); 112NativeMethods.ScopeEnter(modID, UIntPtr.Zero, UIntPtr.Zero, out hScp, fmtPrintfW,a1); 121NativeMethods.ScopeEnter(modID, UIntPtr.Zero, UIntPtr.Zero, out hScp, fmtPrintfW, fmtPrintfW2); 130NativeMethods.ScopeEnter(modID, UIntPtr.Zero, UIntPtr.Zero, out hScp, fmtPrintfW, a1); 139NativeMethods.ScopeEnter(modID, UIntPtr.Zero, UIntPtr.Zero, out hScp, fmtPrintfW, fmtPrintfW2, fmtPrintfW3); 148NativeMethods.ScopeEnter(modID, UIntPtr.Zero, UIntPtr.Zero, out hScp, fmtPrintfW, a1, fmtPrintfW2); 157NativeMethods.ScopeEnter(modID, UIntPtr.Zero, UIntPtr.Zero, out hScp, fmtPrintfW, a1, a2); 166NativeMethods.ScopeEnter(modID, UIntPtr.Zero, UIntPtr.Zero, out hScp, fmtPrintfW, fmtPrintfW2, fmtPrintfW3, fmtPrintfW4); 175NativeMethods.ScopeEnter(modID, UIntPtr.Zero, UIntPtr.Zero, out hScp, fmtPrintfW, a1, fmtPrintfW2, a2); 184NativeMethods.ScopeEnter(modID, UIntPtr.Zero, UIntPtr.Zero, out hScp, fmtPrintfW, a1, fmtPrintfW2, fmtPrintfW3, a4); 193NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW); 199NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW, fmtPrintfW2); 205NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW, a1); 211NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW, a1); 217NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW, fmtPrintfW2, a1); 223NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW, a1, fmtPrintfW2); 229NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW, a1, a2); 235NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW, a1, a2); 241NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW, a1, a2); 247NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW, fmtPrintfW2, fmtPrintfW3, a1); 253NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW, a1, fmtPrintfW2, fmtPrintfW3, fmtPrintfW4); 259NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW, a1, fmtPrintfW2, fmtPrintfW3, fmtPrintfW4); 268NativeMethods.Trace(modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW, a1, actId.ToString()); 279NativeMethods.Trace(modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW, actId.ToString()); 289NativeMethods.Trace(modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW, a1, a2, actId.ToString()); 303NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW, (int)(short)a1); 312NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW, (int)(short)a1, a2); 319NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW, (int)a1); 325NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW, (int)a1,a2); 331NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW, (int)a1,a2); 337NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW, (int)a1,a2); 344NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW,a1,a2); 350NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW, a1,a2,a3); 356NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW, a1,a2,a3,a4,a5); 362NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW, a1,a2,a3,a4,a5,a6,a7); 374NativeMethods.ScopeEnter (modID, UIntPtr.Zero, UIntPtr.Zero, out hScp, fmtPrintfW,a1, a2.ToString()); 383NativeMethods.ScopeEnter (modID, UIntPtr.Zero, UIntPtr.Zero, out hScp, fmtPrintfW,a1,a2,a3); 392NativeMethods.ScopeEnter (modID, UIntPtr.Zero, UIntPtr.Zero, out hScp, fmtPrintfW,a1,a2,a3); 406NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW,a1,a2); 413NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW,a1); 419NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW,a1); 425NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW,a1,a2); 431NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW,a1,a2,a3); 437NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW,a1,a2); 443NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW,a1,a2,a3); 449NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW,a1,a2,a3); 455NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW,a1,a2,a3,a4); 461NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW,a1,a2,a3,a4,a5,a6); 467NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW,a1,a2,a3); 473NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW,a1,a2); 479NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW,a1,a2,a3,a4); 485NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW,a1,a2,a3); 491NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW,a1,a2,a3,a4,a5,a6,a7); 497NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW,a1,a2,a3,a4,a5); 503NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW,a1,a2); 509NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW,a1,a2,a3 ); 515NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW,a1,a2,a3,a4,a5,a6); 521NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW,a1,a2,a3,a4); 527NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW,a1,a2,a3,a4); 533NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW,a1,a2,a3,a4,a5,a6,a7,a8); 539NativeMethods.Trace (modID, UIntPtr.Zero, UIntPtr.Zero, fmtPrintfW,a1,a2,a3,a4); 549NativeMethods.ScopeEnter (modID, UIntPtr.Zero, UIntPtr.Zero, out hScp, fmtPrintfW,a1,a2); 558NativeMethods.ScopeEnter (modID, UIntPtr.Zero, UIntPtr.Zero, out hScp, fmtPrintfW,a1,a2); 567NativeMethods.ScopeEnter (modID, UIntPtr.Zero, UIntPtr.Zero, out hScp, fmtPrintfW,a1,a2,a3); 576NativeMethods.ScopeEnter (modID, UIntPtr.Zero, UIntPtr.Zero, out hScp, fmtPrintfW,a1,a2,a3); 585NativeMethods.ScopeEnter (modID, UIntPtr.Zero, UIntPtr.Zero, out hScp, fmtPrintfW,a1,a2,a3); 594NativeMethods.ScopeEnter (modID, UIntPtr.Zero, UIntPtr.Zero, out hScp, fmtPrintfW,a1,a2,a3,a4); 603NativeMethods.ScopeEnter (modID, UIntPtr.Zero, UIntPtr.Zero, out hScp, fmtPrintfW,a1,a2,a3); 612NativeMethods.ScopeEnter (modID, UIntPtr.Zero, UIntPtr.Zero, out hScp, fmtPrintfW,a1,a2,a3,a4); 629internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.String a3, System.String a4, System.Int32 a5); 633internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.String a2, System.Boolean a3); 637internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int64 a3, System.UInt32 a4, System.Int32 a5, System.UInt32 a6, System.UInt32 a7); 641internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.String a1, System.String a2); 645internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.String a1, System.String a2); 649internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.String a2, System.Int32 a3); 653internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Boolean a2, System.Int32 a3); 657internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.String a1, System.String a2, System.String a3); 661internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.String a2, System.String a3, System.Int32 a4); 669internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.IntPtr a1); 674internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1); 678internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Boolean a1); 683internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, string fmtPrintfW2, System.Int32 a1); 688internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.String a2); 693internal static void Trace(IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.String a3); 697internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2); 701internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.IntPtr a2, System.IntPtr a3); 705internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.IntPtr a2); 709internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.String a2, System.String a3); 713internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.String a2, System.Int32 a3); 717internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.String a2, System.String a3, System.Int32 a4); 721internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3, System.String a4, System.String a5, System.Int32 a6); 725internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3); 729internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Boolean a2); 733internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.String a2, System.String a3, System.String a4); 737internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Boolean a1, System.String a2, System.String a3, System.String a4); 741internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3, System.Int32 a4); 745internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Boolean a3); 749internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3, System.Int32 a4, System.Int32 a5, System.Int32 a6, System.Int32 a7); 753internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.String a2, System.Int32 a3, System.Int32 a4, System.Boolean a5); 757internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int64 a2); 761internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int64 a3); 765internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW1, string fmtPrintfW2, string fmtPrintfW3, System.Int64 a4); 769internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.String a2, System.String a3, System.String a4, System.Int32 a5, System.Int64 a6); 773internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int64 a2, System.Int32 a3, System.Int32 a4); 777internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int64 a3, System.Int32 a4); 781internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3, System.Int32 a4, System.String a5, System.String a6, System.String a7, System.Int32 a8); 785internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.String a3, System.String a4); 792internal static void ScopeEnter(IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, string a1); 796internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.String a2); 800internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Boolean a2); 804internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.String a3); 808internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.String a2, System.Boolean a3); 812internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Boolean a3); 816internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3, System.String a4); 820internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3); 824internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Boolean a3, System.Int32 a4);
System.Data.Services (1)
System\Data\Services\Providers\ReflectionServiceProvider.cs (1)
411type == typeof(IntPtr) || type == typeof(UIntPtr) || type == typeof(char) ||
System.Data.Services.Client (1)
System\Data\Services\Client\ClientType.cs (1)
144(typeof(UIntPtr) == ptype))
System.Drawing (4)
commonui\System\Drawing\Advanced\Gdiplus.cs (2)
4180public static extern IntPtr IntGlobalAlloc(int uFlags, UIntPtr dwBytes); // size should be 32/64bits compatible 4186static internal extern void ZeroMemory(IntPtr destination, UIntPtr length);
commonui\System\Drawing\Advanced\GraphicsPathIterator.cs (2)
284SafeNativeMethods.ZeroMemory((IntPtr)(checked((long)memoryPts + resultCount * size)), (UIntPtr)((count - resultCount) * size)); 326SafeNativeMethods.ZeroMemory((IntPtr)(checked((long)memoryPts + resultCount * size)), (UIntPtr)((count - resultCount) * size));
System.ServiceModel (2)
System\ServiceModel\Channels\UnsafeNativeMethods.cs (2)
1083internal static extern IntPtr VirtualAlloc(IntPtr lpAddress, UIntPtr dwSize, uint flAllocationType, uint flProtect); 1088internal static extern bool VirtualFree(IntPtr lpAddress, UIntPtr dwSize, uint dwFreeType);
System.Web (9)
State\SessionStateItemCollection.cs (1)
193t=typeof(UIntPtr);
UI\PropertyMapper.cs (1)
120(type == typeof(UIntPtr))) {
Util\altserialization.cs (7)
137else if (value is UIntPtr) { 139UIntPtr v = (UIntPtr) value; 140if (UIntPtr.Size == 4) { 144Debug.Assert(UIntPtr.Size == 8); 260if (UIntPtr.Size == 4) { 264Debug.Assert(UIntPtr.Size == 8);
System.Windows.Forms (11)
parent\parent\parent\public\Internal\NDP\Inc\IsolationInterop.cs (11)
3130_appcontext.GetApplicationStateFilesystemLocation(0, UIntPtr.Zero, IntPtr.Zero, out s); 3209[In] UIntPtr cProperties, 3212[Out, MarshalAs(UnmanagedType.LPArray)] out UIntPtr[] ComponentIndicies 3282[In] UIntPtr Component, 3290[In] UIntPtr ComponentCount, 3292[Out, MarshalAs(UnmanagedType.LPArray)] UIntPtr[] Indicies, 3299[In] UIntPtr Components, 3301[Out, MarshalAs(UnmanagedType.LPArray)] UIntPtr[] Indicies, 3320[In] UIntPtr Inputs, 3321ref UIntPtr Outputs 3337[In] UIntPtr Coordinates,
UIAutomationClientsideProviders (10)
MS\Internal\AutomationProxies\CommonRemoteMemoryBlock.cs (1)
70return Misc.VirtualFreeEx(_processHandle, handle, UIntPtr.Zero, UnsafeNativeMethods.MEM_RELEASE);
MS\Internal\AutomationProxies\Misc.cs (5)
624VirtualFree(memAddr, UIntPtr.Zero, UnsafeNativeMethods.MEM_RELEASE); 1776internal static IntPtr VirtualAlloc(IntPtr address, UIntPtr size, int allocationType, int protect) 1789internal static IntPtr VirtualAllocEx(MS.Internal.AutomationProxies.SafeProcessHandle hProcess, IntPtr address, UIntPtr size, int allocationType, int protect) 1802internal static bool VirtualFree(IntPtr address, UIntPtr size, int freeType) 1815internal static bool VirtualFreeEx(MS.Internal.AutomationProxies.SafeProcessHandle hProcess, IntPtr address, UIntPtr size, int freeType)
MS\Win32\UnsafeNativeMethods.cs (4)
61internal static extern IntPtr VirtualAlloc(IntPtr address, UIntPtr size, int allocationType, int protect); 63internal static extern IntPtr VirtualAllocEx(MS.Internal.AutomationProxies.SafeProcessHandle hProcess, IntPtr address, UIntPtr size, int allocationType, int protect); 65internal static extern bool VirtualFree(IntPtr address, UIntPtr size, int freeType); 67internal static extern bool VirtualFreeEx(MS.Internal.AutomationProxies.SafeProcessHandle hProcess, IntPtr address, UIntPtr size, int freeType);
WindowsBase (1)
Shared\MS\Win32\UnsafeNativeMethodsOther.cs (1)
1364UIntPtr dwSize,
WsatUI (1)
MMCUI\MMCWrapper.cs (1)
113internal UIntPtr idFrom;