This
parameter can contain any of the following flags:
MCI_NOTIFY
A notification message will be posted
to the window specified in the hwndCallback parameter of the data
structure pointed to by the pParam2 parameter. The notification
will be posted when the action indicated by this message is completed or
when an error occurs.
MCI_WAIT
Control
is not to be returned until the action indicated by this message is completed
or an error occurs.
MCI_SAVE_FILE
The
pszFileName field of the MCI_SAVE_PARMS
data structure contains the destination file name. If a file name is
not specified, the original file opened or the most recently loaded file
name is assumed.
Digital Video Extensions
The following additional flags apply to digital video devices.
Return
codes indicating success or type of failure:
MCIERR_SUCCESS
MMPM/2 command completed successfully.
MCIERR_OUT_OF_MEMORY
System
out of memory.
MCIERR_INVALID_DEVICE_ID
Invalid
device ID given.
MCIERR_MISSING_PARAMETER
Missing
parameter for this command.
MCIERR_DRIVER
Internal
MMPM/2 driver error.
MCIERR_INVALID_FLAG
Invalid
flag specified for this command.
MCIERR_FLAGS_NOT_COMPATIBLE
Flags cannot be used together.
MCIERR_INVALID_CALLBACK_HANDLE
Given callback handle is invalid.
MCIERR_INSTANCE_INACTIVE
The device is currently inactive. Issue MCI_ACQUIREDEVICE
to make the device context active.
MCIERR_TARGET_DEVICE_FULL
Target device is full.
MCIERR_FILE_NOT_FOUND
File not found.
MCIERR_FILE_NOT_SAVED
File not saved.
MCIERR_FILE_ATTRIBUTE
File attribute error.
MMIOERR_NEED_NEW_FILE_NAME
The file cannot be saved with its original name
because there are other processes that have outstanding paste operations
using the data in this file. Saving the file with its original name will
cause this data to be lost.
MMIOERR_CLIPBRD_ACTIVE
The file cannot be saved with its original name
because there is an active reference to its data in the clipboard. Saving
the file with its original name will cause this data to be lost.