FreeVDMPointer
BOOL FreeVDMPointer(Address, Size, Buffer,
ProtectedMode)
IN ULONG Address;
IN USHORT Size;
PBYTE Buffer;
IN BOOL ProtectedMode;
FreeVDMPointer releases a pointer returned by GetVDMPointer.
Parameters
-
Address
-
The high word is a segment or selector, and the low word is an offset.
-
Size
-
Specifies the range in bytes of the pointer.
-
Buffer
-
Specifies the address returned by GetVDMPointer.
-
ProtectedMode
-
If the ProtectMode is TRUE then the address given is selector: offset.
Otherwise, it is segment: offset.
Return Value
FreeVDMPointer returns TRUE if the buffer was freed.
Comments
FreeVDMPointer flushes the pointer before freeing the buffer.
See Also
GetVDMPointer, FlushVDMPointer