#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 VPUSB_STATIC
#define VPUSB_API 
#else
#ifdef VPLIBUSB_EXPORTS
#define VPUSB_API __declspec(dllexport)
#else
#define VPUSB_API __declspec(dllimport)
#endif
#endif

#else
#define VPUSB_API
#endif
//#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
//#ifndef VPUSB_STATIC
//#ifdef VPLIBUSB_EXPORTS
//#define VPUSB_API __declspec(dllexport)
//#else
//#define VPUSB_API __declspec(dllimport)
//#endif
//#else
//#define VPUSB_API WINAPI
//#endif
//#else
//#define VPUSB_API
//#endif

#define VPUSB_API_VERSION	0x010000000

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

