MCIWnd Reference
[The feature associated with this page, MCIWnd Window Class, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of MCIWnd Window Class, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]
This section describes the functions, messages, and macros associated with the MCIWnd window class. These elements are grouped as follows.
Window Management
File and Device Management
- MCIWndClose
- MCIWndDestroy
- MCIWndEject
- MCIWndNew
- MCIWndOpen
- MCIWndOpenDialog
- MCIWndSave
- MCIWndSaveDialog
Playback Options
- MCIWndGetRepeat
- MCIWndPlay
- MCIWndPlayFrom
- MCIWndPlayFromTo
- MCIWndPlayReverse
- MCIWndPlayTo
- MCIWndSetRepeat
Recording
Positioning
- MCIWndEnd
- MCIWndGetEnd
- MCIWndGetLength
- MCIWndGetPosition
- MCIWndGetPositionString
- MCIWndGetStart
- MCIWndHome
- MCIWndSeek
- MCIWndStep
Pause and Resume Playback
- MCIWndGetRepeat
- MCIWndPlay
- MCIWndPlayFrom
- MCIWndPlayFromTo
- MCIWndPlayReverse
- MCIWndPlayTo
- MCIWndSetRepeat
Performance Tuning
Image and Palette Adjustments
- MCIWndGetDest
- MCIWndGetPalette
- MCIWndGetSource
- MCIWndPutDest
- MCIWndPutSource
- MCIWndRealize
- MCIWndSetPalette
Event and Error Notification
- MCIWndGetError
- MCIWNDM_NOTIFYERROR
- MCIWNDM_NOTIFYMEDIA
- MCIWNDM_NOTIFYMODE
- MCIWNDM_NOTIFYPOS
- MCIWNDM_NOTIFYSIZE
Time Formats
Status Updates
- MCIWndGetActiveTimer
- MCIWndGetInactiveTimer
- MCIWndSetActiveTimer
- MCIWndSetInactiveTimer
- MCIWndSetTimers
Device Capabilities
MCI Device Settings
MCI Command-String Interface
Related topics