:Cancel() - stops the current playback operation.


Class

     aprAudio()

 

Syntax

     :Cancel() --> lSuccess

 

Return

     lSuccess. A Logical indication Success (.T.) or Failure (.F.) of the Cancel Method.

     If it Fails, you can get further information from :nErr and :cErr.

 

Description

:Cancel() stops the current playback operation started with the :Play() Method.


This function requires that hardware and drivers compatible with the Windows multimedia library be installed on the system. If the library cannot be loaded, the function will fail.