#pragma once
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
#include <windows.h>
#else
#define CALLBACK
#endif

#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
#ifdef VPSERIO_STATIC
	#define VPSER_API 
#else
	#ifdef VPSERIO_EXPORTS
		#define VPSER_API __declspec(dllexport)
	#else
		#define VPSER_API __declspec(dllimport)
	#endif
#endif

#else
	#define VPSER_API
#endif




#define VPSER_API_VERSION	0x010000000


#ifndef tstring
#ifdef _UNICODE
#define tstring         std::wstring
#define tstringbuf      std::wstringbuf
#define tstringstream   std::basic_stringstream<wchar_t>
#else
#define tstring         std::string
#define tstringbuf      std::stringbuf
#define tstringstream   std::basic_stringstream<char>
#endif
#endif

// maximum number of devices that can be discovered by this CVPusbIO object
//#define VPUSB_MAX_DISCOVERABLE 16 


