The carry flag is clear if the function is successful. Otherwise, the carry flag is set and AX contains the error code. For a list of possible error codes, see the VXDLDR_LoadDevice service.
BX
The identifier of the VxD to unload. If BX is -1, DS:DX should contain the address of a null-terminated string giving the module name of the VxD to unload.