This message is the version of the MCI_CLOSE command sent from MCI to an MCI device.
DWORD lParam1
Contains the flags specified in the MCI_CLOSE message.
LPMCI_GENERIC_PARMS lParam2
Specifies a far pointer to the MCI_GENERIC_PARMS data structure.
Returns zero if successful. Otherwise, it returns an MCI error code.
An MCI internal procedure intercepts the MCI_CLOSE message sent by an application. After processing, the procedure calls the device with MCI_CLOSE_DRIVER and DRV_CLOSE. Windows will always close the driver following the MCI_CLOSE_DRIVER message.