libZPlay documentation (Win32)
IndexReferenceHome
PreviousUpNext
ZPlay.OpenFile Method

Open disk file.

C#
public bool OpenFile(string FileName, TStreamFormat Format);
Parameters 
Description 
string FileName 
String that specifies the name of the file. 
TStreamFormat Format 
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