The following code illustrates how to resume a paused operation.

   USHORT            usDeviceID;
   HWND              hwndMyWindow;
   MCI_GENERIC_PARMS mciGenericParms;           /* Generic message
                                                   parms structure       */

    /* Resume the previous operation that was paused                     */

    /* Assign hwndCallback the handle to the PM Window routine           */
   mciGenericParms.hwndCallback = hwndMyWindow;

   mciSendCommand( usDeviceID,                  /* Device ID             */
                   MCI_RESUME,                  /* MCI resume message    */
                   MCI_NOTIFY,                  /* Flag for this message */
                   (PVOID) &mciGenericParms,    /* Data structure        */
                   0);                          /* No user parm          */


[Back] [Next]