Share via


ACM_PLAY (Windows CE 5.0)

Send Feedback

This message plays an AVI clip in an animation control. You can send this message explicitly or by using the Animate_Play macro.

lResult = SendMessage(   (HWND) hWndControl,   (UINT) ACM_PLAY,   (WPARAM) wParam,   // = (WPARAM) (UINT) cRepeat   (LPARAM) lParam   // = (LPARAM) MAKELONG(wFrom, wTo));

Parameters

  • cRepeat
    Number of times to replay the AVI clip. A value of -1 means replay the clip indefinitely.
  • wFrom
    Zero-based index of the frame where playing begins. The value must be less than 65,536. A value of zero means begin with the first frame in the AVI clip.
  • wTo
    Zero-based index of the frame where playing ends. The value must be less than 65,536. A value of -1 means end with the last frame in the AVI clip.

Return Values

Returns nonzero if successful, or zero otherwise.

Remarks

You can use Animate_Seek to direct the animation control to display a particular frame of the AVI clip.

Requirements

OS Versions: Windows CE 5.0
Header: Commctrl.h.

See Also

Animation Controls Messages

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.