RELEASE: Difference between revisions
Appearance
Created page with "{{DISPLAYTITLE:RELEASE}} The RELEASE command releases exclusive use of the physical resources by the device context. ==Syntax== <PRE> RELEASE ---- object ----+-------------------+--+----------+-- +-- RETURN RESOURCE --+ | WAIT | +---------------------+ +----------+ | NOTIFY | +----------+ </PRE> ==Keywords== ;object :Object a..." |
(No difference)
|
Latest revision as of 21:12, 25 November 2025
The RELEASE command releases exclusive use of the physical resources by the device context.
Syntax
RELEASE ---- object ----+-------------------+--+----------+--
+-- RETURN RESOURCE --+ | 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
- RETURN RESOURCE
- Returns resource for any instance that has requested and is waiting for the resource. If the resource is not requested by another instance, it is left active. If resource used is not required by any other instance, it is left active.
- 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.
Remarks
The RELEASE command releases exclusive use of the physical resources by the device context.
Example Code
release digitalvideo return resource wait