Jump to content

MMProgRef - Subsystem Messages: Difference between revisions

From EDM2
No edit summary
No edit summary
Line 1: Line 1:
[[Category:WorkToDo]]
{{MMProgRef}}
{{MMProgRef}}
The **MCIDRV** commands provide subsystem communication between MDM (Media Device Manager) and the MCDs (Media Control Drivers). The current set of MCIDRV commands provide for device resource management.
The **MCIDRV** commands provide subsystem communication between MDM (Media Device Manager) and the MCDs (Media Control Drivers). The current set of MCIDRV commands provide for device resource management.

Revision as of 21:20, 25 November 2025

Reprint Courtesy of International Business Machines Corporation, © International Business Machines Corporation

Multimedia Programming Reference
  1. Introduction
  2. What's New...
  3. MCI Functions
  4. High-Level Macro Service Functions
  5. Subsystem Messages
  6. Notification Messages
  7. MCI Command Messages
  8. String Commands
  9. Memory Playlist Commands
  10. Graphic Button Control
  11. Secondary Window Functions
  12. MMIO Functions
  13. MMIO Messages
  14. CODEC Messages
  15. DIVE Functions
  16. Real-Time MIDI Functions
  17. SPI Functions
  18. Data Stream State Table
  19. SMH Messages
  20. DDCMD Messages
  21. VSD Commands
  22. SHD Messages
  23. SHC Messages
  24. Data Types
  25. Types of MIDI Messages
  26. Multimedia Specification Overview
  27. Resource Interchange File Format
  28. Multimedia File Formats
  29. RIFF Compound Files and Elements - Sharing and Access
  30. Return Codes
  31. Notices
  32. Glossary

The **MCIDRV** commands provide subsystem communication between MDM (Media Device Manager) and the MCDs (Media Control Drivers). The current set of MCIDRV commands provide for device resource management.

The MCIDRV_SAVE and MCIDRV_RESTORE messages allow MDM to manage devices that support multiple device contexts either concurrently or serially. The MCIDRV_CHANGERESOURCE message allows MCDs to change the resource consumed by a device context as required. MCIDRV_CHANGERESOURCE is sent from an MCD to MDM. A device context is made active when the MCD receives an MCIDRV_RESTORE from MDM. An MCI_OPEN command is not complete (the device is not active) until MDM has sent the MCD an MCIDRV_RESTORE. Similarly, when MDM sends an MCD the MCIDRV_SAVE command, the MCD will make the device context inactive. These commands provide multiple device contexts the ability to share one device.

Message Description

MCIDRV_CHANGERESOURCE
Changes the class or resource units assigned to the given device context.
MCIDRV_RESTORE
Restores state of an inactive device context.
MCIDRV_SAVE
Saves state of a device context.