BOOL VDDDeInstallMemoryHook(hVdd, pStart, count)
IN HANDLE hVdd;
IN PVOID pStart;
IN DWORD count;
VDDDeInstallMemoryHook releases a range of memory-mapped I/O addresses previously allocated by a VDD.
Parameters
hVdd
Identifies the VDD.
pStart
Points to the starting linear address of the range.
count
Identifies the number of bytes of mapped memory that are being used.
Return Value
VDDDeInstallMemoryHook returns TRUE if successful. Otherwise, it returns FALSE and logs an error.
Comments
The memory range becomes invalid once a hook is removed. The only extended error code is ERROR_INVALID_PARAMETER.
Address is relative to DOS 0:0. That means GetVDMPointer should not be called on this address before calling VDDAllocMem.
See Also
VDDInstallMemoryHook