Open disk file.
Public Function OpenFile(ByVal FileName As String, ByVal Format As TStreamFormat) As Boolean
Parameters |
Description |
ByVal FileName As String |
String that specifies the name of the file. |
ByVal Format As TStreamFormat |
Stream format. Use sfAutodetect if you need to autodetect stream format of specified file. |
Return Values |
Description |
True |
All OK. |
False |
Error. To get error message read here. |
Use this function to open disk file. Function will open disk file and check if this file is valid file according to specified stream format. If you use sfAutodetect as FileName parameter function will try to detect stream format of specified file and open file using detected stream format.
Copyright (c) 2010. Zoran Cindori - All rights reserved.
Web: http://libzplay.sourceforge.net/ Email: zcindori@inet.hr |