00001 #ifndef __KSJ_API_RECORD_H__
00002 #define __KSJ_API_RECORD_H__
00003 
00004 // #pragma message("Include KSJApiRecord.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 
00015 #ifdef __cplusplus
00016 extern "C"{
00017 #endif
00018 
00021 
00022 
00023 
00024 
00025 
00026 
00027 
00028 
00029 
00030 
00031 
00032 
00033     KSJ_API  int __stdcall KSJ_RecordStart(int nIndex, bool bStart, float fRecordRate, const TCHAR *pFileName);
00034     
00048     KSJ_API  int __stdcall KSJ_RecordStartEx(int nIndex, bool bStart, float fRecordRate, const TCHAR *pFileName, bool bShowCompossorSelection);
00049 
00066     KSJ_API  int __stdcall KSJ_RecordStartExEx(int nIndex, bool bStart, float fRecordRate, int nWidth, int nHeight, int nBitCount,  const TCHAR *pFileName, bool bShowCompossorSelection);
00067     
00082     KSJ_API  int __stdcall KSJ_RecordAddOneFrame(int nIndex, unsigned char *pFrameData, int nFrameNum, int nWidth, int nHeight, int nBitcount);
00083 
00094     KSJ_API  int __stdcall KSJ_RecordStatusGet(int nIndex, bool *bStart);
00096 #ifdef __cplusplus
00097 }
00098 #endif
00099 
00100 #endif