19 references to UIntPtr
mscorlib (14)
system\runtime\interopservices\marshal.cs (7)
1187
numBytes = new
UIntPtr
(unchecked((uint)cb.ToInt32()));
1248
UIntPtr len = new
UIntPtr
((uint)nb);
1279
UIntPtr len = new
UIntPtr
((uint)nb);
1856
IntPtr pNewMem = Win32Native.CoTaskMemAlloc(new
UIntPtr
((uint)cb));
1879
IntPtr hglobal = Win32Native.CoTaskMemAlloc(new
UIntPtr
((uint)nb));
1918
IntPtr hglobal = Win32Native.CoTaskMemAlloc(new
UIntPtr
((uint)nb));
1943
IntPtr pNewMem = Win32Native.CoTaskMemRealloc(pv, new
UIntPtr
((uint)cb));
system\security\principal\windowsidentity.cs (4)
952
UIntPtr ptrLength = new
UIntPtr
(dwLength);
985
UIntPtr ptrLength = new
UIntPtr
((uint)(sourceName.Length + 1));
1037
ptrLength = new
UIntPtr
((uint)arrayPackageName.Length);
1074
using (SafeLocalAllocHandle logonInfoBuffer = Win32Native.LocalAlloc(Win32Native.LPTR, new
UIntPtr
(logonInfoSize))) {
system\uintptr.cs (3)
127
return new
UIntPtr
(value);
194
return new
UIntPtr
(pointer.ToUInt32() + (uint)offset);
208
return new
UIntPtr
(pointer.ToUInt32() - (uint)offset);
System.Drawing (1)
commonui\System\Drawing\Advanced\Gdiplus.cs (1)
4182
return IntGlobalAlloc(uFlags, new
UIntPtr
(dwBytes));
System.Web (1)
Util\altserialization.cs (1)
261
value = new
UIntPtr
(reader.ReadUInt32());
UIAutomationClientsideProviders (3)
MS\Internal\AutomationProxies\CommonRemoteMemoryBlock.cs (1)
54
SetHandle(Misc.VirtualAllocEx(_processHandle, IntPtr.Zero, new
UIntPtr
((uint)cbSize), UnsafeNativeMethods.MEM_COMMIT, UnsafeNativeMethods.PAGE_READWRITE));
MS\Internal\AutomationProxies\Misc.cs (2)
595
memAddr = VirtualAlloc(IntPtr.Zero, new
UIntPtr
(cbSize), UnsafeNativeMethods.MEM_COMMIT, UnsafeNativeMethods.PAGE_READWRITE);
598
VirtualAlloc(new IntPtr((byte *)memAddr.ToPointer() + cbSize - pageSize), new
UIntPtr
(pageSize), UnsafeNativeMethods.MEM_COMMIT, UnsafeNativeMethods.PAGE_NOACCESS);