include vmm.inc
mov edi, OFFSET32 ddb
VMMCall VMM_Remove_DDB
jc DDB_Not_Found
Removes a Vxd_Desc_Block structure (DDB or Device Description Block) from the device list.
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.