MCI_ANIM_PLAY_PARMS

The MCI_ANIM_PLAY_PARMS structure contains parameters for the MCI_PLAY message for animation devices. When assigning data to the fields in this data structure, set the corresponding MCI flags in the dwFlags parameter of mciSendCommand to validate the fields. You can use the MCI_PLAY_PARMS data structure in place of MCI_ANIM_PLAY_PARMS if you are not using the extended data fields.

typedef struct {
    DWORD  dwCallback;
    DWORD  dwFrom;
    DWORD  dwTo;
    DWORD  dwSpeed;
} MCI_ANIM_PLAY_PARMS;

Fields

The MCI_ANIM_PLAY_PARMS structure has the following fields:

dwCallback

The low-order word specifies a window handle used for the MCI_NOTIFY flag.

dwFrom

Specifies the position to play from.

dwTo

Specifies the position to play to.

dwSpeed

Specifies the play rate in frames per second.

See Also

MCI_PLAY