Difference between revisions of "Lua:allocateMemory"
								
								Jump to navigation
				Jump to search
				
				
		
 					
								
							
		 (Created page with "Category:Lua '''function''' allocateMemory(''size'', ''BaseAddress'' '''''OPTIONAL''''', ''Protection'' '''''OPTIONAL''''')  Allocates a specified size of memory into the...")  | 
				m (Added see also)  | 
				||
| Line 23: | Line 23: | ||
|Protect the allocated memory, or not.  | |Protect the allocated memory, or not.  | ||
|}  | |}  | ||
| + | |||
| + | {{LuaSeeAlso}}  | ||
Latest revision as of 09:51, 20 May 2022
function allocateMemory(size, BaseAddress OPTIONAL, Protection OPTIONAL)
Allocates a specified size of memory into the target process.
Function Parameters[edit]
| Parameter | Type | Description | 
|---|---|---|
| Size | Integer | The size of memory to allocate. | 
| Base Address | Integer | The address of the location to allocate memory. | 
| Protection | Boolean | Protect the allocated memory, or not. |