MCI_RESUME

This MCI command message resumes a paused device. Support of this message by a device is optional.

Parameters

DWORD dwFlags

The following flags apply to all devices supporting MCI_RESUME:

MCI_NOTIFY

Specifies that MCI should post the MM_MCINOTIFY message when this command completes. The window to receive this message is specified in the dwCallback field of the data structure identified by lpDefault.

MCI_WAIT

Specifies that the device should resume before MCI returns control to the application.

LPMCI_GENERIC_PARMS lpDefault

Specifies a far pointer to the MCI_GENERIC_PARMS data structure. (Devices with extended command sets might replace this data structure with a device-specific data structure.)

Return Value

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

Comments

This command resumes playing and recording without changing the stop position set with MCI_PLAY or MCI_RECORD.

See Also

MCI_STOP, MCI_PLAY, MCI_RECORD