Moin Luckie,
ich würde mal sagen:
Code:
VirtualFree(IOBuffer, [color=red]0[/color], MEM_RELEASE);
denn:
Zitat von
PSDK VirtualFree:
MEM_RELEASE
...If you specify this value, dwSize must be zero, and lpAddress must point to the base address returned by the VirtualAlloc function when the region was reserved.
...
Remarks
...
If a page is decommitted but not released, its state changes to reserved. You can subsequently call VirtualAlloc to commit it, or VirtualFree to release it.
...