Note: The STATE and TEXT keywords will not affect an application-supplied
alternate window.
object
Object associated with this media control interface
command. The object can be one of the following:
Device type
Device name
Filename
Alias
HANDLE
window_handle
Sets a new window in which to
play the video image. If the old window was the default window created
by the driver, it is hidden. Otherwise, the application is responsible
for managing the old window.
HANDLE DEFAULT
Indicates
the driver should display video in the window automatically created by the
driver.
STATE ACTIVATE
Activates
the default video window if it is a frame window. This has no other effect
on other windows. The frame window is made the topmost window.
STATE
DEACTIVATE
Deactivates the default video window
if it is a state window. This has no effect on other windows.
STATE
HIDE
Hides the default video window.
STATE
MAXIMIZE
Maximizes the default video window.
This indicator has no effect if the window is in a maximized state, and
is also mutually exclusive with STATE MINIMIZE and STATE RESTORE.
STATE
MINIMIZE
Minimizes the default video window.
This indicator has no effect if the window is in a minimized state, and
is also mutually exclusive with STATE MAXIMIZE and STATE RESTORE.
STATE
RESTORE
Restores the default video window. This
indicator has no effect if currently in a window and is mutually exclusive
with STATE MAXIMIZE and STATE MINIMIZE.
STATE
SHOW
Shows the default video window.
TEXT
caption
Specifies the text to display in the
caption of the default video window.
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.