object

      Object associated with this media control interface command. The object can be one of the following:

      • Device type
      • Device name
      • Filename
      • Alias
      filename
        The name of the file to load. Optional if OPEN is specified.

        READONLY

          The system will open the file in a read-only mode to prevent any inadvertent modifications to the file. The waveaudio driver might also be able to improve load and run time performance as no modifications will be allowed. This flag can only be specified in conjunction with a file element. Specifying the READONLY keyword will disable support for the SAVE, RECORD, CUT, DELETE, and PASTE commands.
        NEW
          A temporary element is created for subsequent use with MCI_RECORD, MCI_PLAY, and other commands. The temporary file can be made permanent by providing a name using the MCI_SAVE message.
        WAIT
          The command is executed synchronously. The function waits until the requested action is complete before returning to the application.
        NOTIFY
          The command is executed asynchronously, allowing control to be returned immediately to the application. When the requested action is complete, an MM_MCINOTIFY message is sent to the application window procedure.


        [Back] [Next]