ulParam1 (ULONG)

      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_ACQUIRE_QUEUE
        An MCI_ACQUIREDEVICE message is queued and executed as soon as device resources are available. If the request can be satisfied immediately, then it is not queued. If an MCI_ACQUIREDEVICE message is queued and an MCI_RELEASEDEVICE or MCI_CLOSE message is sent for that instance, the queued MCI_ACQUIREDEVICE message is cancelled.
      MCI_EXCLUSIVE
        Resources are to be exclusively allocated for the device instance. Exclusive use of resources can be released with an MCI_RELEASEDEVICE message.
      MCI_EXCLUSIVE_INSTANCE
        Acquires the device instance for exclusive use without acquiring the entire device resource for exclusive use. This flag locks the device instance and prevents it from being made inactive until the application sends an MCI_RELEASEDEVICE or MCI_CLOSE message. The MCI_RELEASEDEVICE puts the instance back into the fully shareable state.


      [Back] [Next]