object

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

      • Device type
      • Device name
      • Filename
      • Alias
      ALIAS device_alias
        Specifies an alternate name for the device. If specified, it must also be used for subsequent references.
      DOSQUEUE
        If a device instance is opened with the DOSQUEUE keyword specified, window handles that are passed in for the instance will be treated as OS/2 Control Program queue handles.
      PARENT hwnd
        Specifies the window handle of the parent window as a character representation of the decimal window handle value. If specified, it is used as the parent window of the digital video device default window.
      READONLY
        Specifies that the file is to be opened in read-only mode.
      SHAREABLE
        Initializes the device as shareable. Specifying SHAREABLE makes the resources of the device available to other device contexts. If SHAREABLE is not specified on OPEN, the resource will be exclusively acquired when the device is opened.
      TYPE device_type
        Specifies the compound device used to control a device element. As an alternative to TYPE, the media control interface can use the .TYPE extended attribute or file extension associated with the file to select the controlling device.
      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]