Address of an MCI_GENERIC_PARMS structure. (You can also use an MCI_CLOSE_PARMS structure. For more information, see the comments for MCI_GENERIC_PARMS.)

Return Values

Returns zero if successful or an error otherwise.

Remarks

Exiting an application without closing any MCI devices it has opened can leave
the device inaccessible. Your application should explicitly close each device
or file when it is finished with it. MCI unloads the device when all instances
of the device or all associated files are closed.