The following code illustrates how to a step a player 10 frames.

   USHORT          usDeviceID;
   MCI_STEP_PARMS   mstepp;

                                          /* Step the device 10 frames */

                       /* Assumes time format for device set to frames */
   mstepp.ulStep = (ULONG) 10;

   mciSendCommand( usDeviceID,            /* Device ID                 */
                   MCI_STEP,              /* MCI step message          */
                   MCI_WAIT | MCI_STEP_FRAMES,
                                          /* Flags for this message    */
                   (PVOID) &mstepp,       /* Data structure            */
                   0);                    /* No user parm              */


[Back] [Next]