Handling DRV_FREE
If your driver provides a custom string table, unload it by calling mciFreeCommandResource when DriverProc receives the DRV_FREE message. For more information on handling DRV_FREE, see Introduction to Multimedia Drivers.