0

According to this VirtualAlloc allows the value of address parameter to be null and the "the system determines where to allocate the region."

The question is, is there a way to know the allocated address? If yes, how?

Paul R
  • 208,748
  • 37
  • 389
  • 560
srh snl
  • 797
  • 1
  • 19
  • 42

1 Answers1

0

The same reference document about VirtualAlloc states concerning the value returned by the function:

If the function succeeds, the return value is the base address of the allocated region of pages.

Seki
  • 11,135
  • 7
  • 46
  • 70