摘要:
MediaEvent.FreeEventParams(EventCode, Param1, Param2);
if EventCode=EC_Complete then
begin
if MediaControlnil then
MediaControl.Stop;
if MediaSeeknil then
begin
CurrentPosition:=0;
MediaSeek.SetPositions(CurrentPosition,
AM_SEEKING_AbsolutePositioning,
EndPosition, AM_SEEKING_NoPositioning)
end
end
end
阅读全文