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_QUERY_CONNECTION
This
flag specifies that the default connection associated with the indicated
connector is to be returned in the pszToDevice, ulToConnectorType,
and ulToConnectorIndex fields of the MCI_DEFAULT_CONNECTION_PARMS
data structure.
MCI_MAKE_CONNECTION
This
flag specifies that a default connection is to be established between the
current device and the ulDeviceTypeID field of the data structure
pointed to by pParam2. The precise connectors on each device can
be indicated using the associated connector type and index flags.
MCI_BREAK_CONNECTION
This flag specifies that the default connection
associated with the indicated connector is to be broken.
MCI_CONNECTOR_TYPE
This flag specifies that the connector type (ulConnectorType
field) for the primary device is to be used for the query. When this
flag is used the ulConnectorIndex field is used as a relative index
rather than an absolute index.
MCI_CONNECTOR_INDEX
This flag specifies that the ulConnectorIndex
field contains the connector index for the primary device. If this
flag is not specified an index of 1 is assumed.
MCI_TO_CONNECTOR_TYPE
This flag specifies that the connector type (ulToConnectorType
field) for the primary device is to be used for the query. When this
flag is used, the ulToConnectorIndex field is used as a relative
index rather than an absolute index.
MCI_TO_CONNECTOR_INDEX
This flag specifies that the ulToConnectorIndex
field contains the connector index for the primary device. If this
flag is not specified an index of 1 is assumed.