Event Notifications

An MM_MCIPOSITIONCHANGE line notifies an application of the current media position.

+MM_MCIPOSITIONCHANGE position %user-parameter #x
┌───────────────┬─────────────────────────────────────────────┐
│Keyword        │Description                                  │
├───────────────┼─────────────────────────────────────────────┤
│position       │Specifies the expected MMTIME position of the│
│               │first position-change message.               │
├───────────────┼─────────────────────────────────────────────┤
│user-parameter │Specifies the user parameter to be returned. │
│               │This should be the same as the return value  │
│               │specified in the SETPOSITIONADVISE string    │
│               │command.  Note that the return value must be │
│               │a unique integer in the range of 1-99.       │
├───────────────┼─────────────────────────────────────────────┤
│x              │Specifies the number (x) of position change  │
│               │messages expected.  For further information, │
│               │see Limitations of MM_MCIPOSITIONCHANGE      │
│               │Verification.                                │
└───────────────┴─────────────────────────────────────────────┘


[Back: Command Completion/Error Notifications]
[Next: Position Change Notifications]