MCI_CLOSE_DRIVER

This message is the version of the MCI_CLOSE command sent from MCI to an MCI device.

Parameters

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.

Return Value

Returns zero if successful. Otherwise, it returns an MCI error code.

Comments

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.

See Also

MCI_CLOSE, MCI_OPEN, MCI_OPEN_DRIVER