00001 #ifndef __KSJ_API_16BITS_H__
00002 #define __KSJ_API_16BITS_H__
00003 
00004 // #pragma message("Include KSJApi16Bits.h") 
00005 
00006 #ifdef KSJAPI_EXPORTS
00007 #define KSJ_API __declspec(dllexport)
00008 #elif defined KSJAPI_STATIC
00009 #define KSJ_API
00010 #else
00011 #define KSJ_API __declspec(dllimport)
00012 #endif
00013 
00014 #ifdef __cplusplus
00015 extern "C"{
00016 #endif
00017 
00020 
00021 
00022 
00023 
00024 
00025 
00026 
00027 
00028 
00029 
00030     KSJ_API  int __stdcall KSJ_GetADCResolution(int nIndex, int *pnADCResolution);
00031     
00043     KSJ_API  int __stdcall KSJ_SetData16Bits(int nIndex, bool bEnable);
00044     
00055     KSJ_API  int __stdcall KSJ_GetData16Bits(int nIndex, bool *bEnable);
00056     
00070     KSJ_API  int __stdcall KSJ_CaptureGetSizeExEx(int nIndex, int *pnWidth, int *pnHeight, int *pnBitCount, int *nBitsPerSample);
00071     
00086     KSJ_API  int __stdcall KSJ_HelperSaveToTiff(unsigned char *pData, int nWidth, int nHeight, int nBitPerSample, int nSamplesPerPixel, const TCHAR *pszFileName);
00088 #ifdef __cplusplus
00089 }
00090 #endif
00091 
00092 #endif