ulFlags (ULONG) - input

      MCI_OWNERISPARENT

        Indicates that the owner window should be used as the parent window for any default window that is created. If this flag is passed to a device that does not support a parent window, an error is returned.
      MCI_STOPACTIVE
        Indicates that any currently active PLAY command issued by mciPlayFile or mciPlayResource should be stopped.
      MCI_ASYNC
        Indicates that the command should be processed asynchronously. A rendezvous command will not be done.
      MCI_ASYNCRENDEZVOUS
        Indicates that the command should be processed asynchronously. A rendezvous command will be done.
      MCI_RENDEZVOUS
        Indicates that the call should wait for a currently pending asynchronous command to complete.

        • If no command is pending, then it returns immediately.

        • If an asynchronous command is not pending, this function returns immediately. This flag indicates that the command should wait until a pending asynchronous play command completes and then return.

        • If a synchronous (default) play command is pending, this command returns immediately with a MCIERR_NO_ASYNC_PLAY_ACTIVE.

        • If another MCI_RENDEZVOUS command is pending, this command should return immediately with a MCIERR_ASYNC_PLAY_ACTIVE.


        [Back] [Next]