2 references to VirtualAlloc
UIAutomationClientSideProviders (2)
MS\Internal\AutomationProxies\Misc.cs (2)
584
memAddr =
VirtualAlloc
(IntPtr.Zero, new UIntPtr(cbSize), UnsafeNativeMethods.MEM_COMMIT, UnsafeNativeMethods.PAGE_READWRITE);
587
VirtualAlloc
(new IntPtr((byte *)memAddr.ToPointer() + cbSize - pageSize), new UIntPtr(pageSize), UnsafeNativeMethods.MEM_COMMIT, UnsafeNativeMethods.PAGE_NOACCESS);