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

Get description of last error. (UNICODE version)

C++
__stdcall __declspec(dllimport) wchar_t * zplay_GetErrorW(ZPLAY_HANDLE handle);
Parameters 
Description 
ZPLAY_HANDLE handle 
ZPLAY handle. Get this handle with zplay_CreateZPlay

Pointer to UNICODE null terminated string with error message.

Memory for error message is allocated by libZPlay interface and always is available.  

Warning: Don't mess with this memory, don't free this memory, don't write into this memory. 

ZPlay C++ Class interface

MessageBoxW(0, instance->GetErrorW(), "UNICODE error message", 0);

 

C Style interface

MessageBoxW(0, zplay_GetErrorW(instance), "UNICODE error message", 0);
Copyright (c) 2010. Zoran Cindori - All rights reserved.

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

Email: zcindori@inet.hr