I was wondering if it's possible to determine if a virtual address (pointer) belongs to a previous VirtualAlloc call or not (if possible without writing to the page). Since VirtualFree can automatically set the dwSize value if you use it with MEM_RELEASE.