Jump to content

CLOSE

From EDM2

The CLOSE command closes the device context and frees resources.

Syntax

CLOSE ──── object ────┬──────────┬────┤
                      ├─ WAIT   ─┤
                      └─ NOTIFY ─┘

Keywords

object
Object associated with this media control interface command. The object can be one of the following:
  • Device type
  • Device name
  • Filename
  • Alias
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.

Example

close digitalvideo wait