The ACM_STOP message stops playing an AVI clip in an animation control. You can send this message explicitly or by using the Animate_Stop macro.
ACM_STOP wParam = 0; lParam = 0;
If the operation succeeds, the return value is a nonzero value.
If the operation fails, the return value is zero.