VOID
SoundFreeDevice(
IN PDEVICE_OBJECT DeviceObject
);
The SoundFreeDevice function deletes a device object and frees its resources.
None.
SoundFreeDevice frees resources that were reserved with SoundReportResourceUsage. It also frees resources associated with the driver object. The specified device object is deleted.