libZPlay documentation (Win32)
IndexReferenceHome
PreviousUpNext
libZPlayCpp::zplay_GetVersion Function

Get library version number.

C++
__stdcall __declspec(dllimport) int zplay_GetVersion(ZPLAY_HANDLE handle);
Parameters 
Description 
ZPLAY_HANDLE handle 
ZPLAY handle. Get this handle with zplay_CreateZPlay

Library version number.

Version 1.01 is identified with number 101. Number 214 specifies version 2.14 ...

Check if we have version 1.01 

ZPlay C++ Class interface  

int nVersion = instance->GetVersion();
if(nVersion == 101)
  printf("We have version 1.01");

 

C Style interface

int nVersion = zplay_GetVersion(instance);
if(nVersion == 101)
  printf("We have version 1.01");
Copyright (c) 2010. Zoran Cindori - All rights reserved.

Web: http://libzplay.sourceforge.net/

Email: zcindori@inet.hr