VMM_Remove_DDB


include vmm.inc

mov     edi, OFFSET32 ddb
VMMcall VMM_Remove_DDB
jc      DDB_Not_Found

Removes a Vxd_Desc_Block structure (DDB) from the device list.

ddb

A Vxd_Desc_Block structure that contains the driver version numbers, the addresses of required procedures, and so on.

Virtual devices should call this service with extreme caution. DDBs removed in this manner are removed from the system without being given any opportunity to clean up. If you want to unload a VxD, you would be much better off using the VxD loader services than trying to manipulate the DDB list directly. Removing a DDB at a bad time destabilizes the system.