The VxD_DeleteDevice function deletes a device that was created using VxD_CreateDevice (VxD).
BOOL VXDINLINE
VxD_DeleteDevice(
PVMMDDB DDB
);
VxD_DeleteDevice returns TRUE if the device has been successfully deleted.
Use this function only in your driver's exit routine to delete all additional device instances.
This function is not available when developing WDM drivers. For a list of the functions that can be used, see WDM Driver Functions.