Copyright © 2001-2018 MultiMedia Soft

MediaFileDecoder.FileOpenCancel method

Previous pageReturn to chapter overviewNext page



Aborts the opening and decoding of a media file started through the MediaFileDecoder.FileOpen method.


For details about management of media files decoding, refer to the How to decode media files tutorial.





[Visual Basic]

control.MediaFileDecoder.FileOpenCancel (

) as enumErrorCodes



short control.MediaFileDecoder.FileOpenCancel (




Return value






enumErrorCodes.NOERROR (0)

The method call successful.

Negative value

An error occurred: see the LastError property for further error details or for a list of the possible error values.