lpBaseAddress
lpBaseAddress is a parameter name used in Windows API memory operations that act on another process’s address space, most notably ReadProcessMemory and WriteProcessMemory. It designates the base address in the target process from which the operation begins. The parameter is typically of type LPCVOID (a pointer to a constant void), and in code you pass the address of the location in the remote process, usually by casting from a pointer-sized integer or void*.
In a ReadProcessMemory call, the function copies a specified number of bytes from the remote process, starting
lpBaseAddress may point to memory allocated within the target process (for example, via VirtualAllocEx) or to
Practical use of lpBaseAddress requires sufficient privileges and an understanding of the target process’s memory protections