VXDLDR_UnloadDevice


include vxdldr.inc

mov     ebx [DeviceID]
VxDcall VXDLDR_UnloadDevice
jc      errorhandler

Unloads a VxD from memory. Uses EAX.

DeviceID

Identifier of the device to be unloaded. If this value is -1, EDX should contain the address of a null-terminated string giving the module name of the VxD.