VMM_Add_DDB

include vmm.inc

mov     edi, OFFSET32 ddb
VMMCall VMM_Add_DDB
jc      DDB_Already_Exists;
 

Adds a Vxd_Desc_Block structure (DDB or Device Description Block) to the appropriate location in the device list (the locations are based on the initialization order).

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

Virtual devices should call this service with extreme caution. DDBs added in this manner are treated by the virtual machine manager as full-fledged VxDs. If you want to load a VxD, you would be much better off using the VxD loader services than trying to manipulate the DDB list directly.