00001 #ifndef __KSJ_API_MULTI_PROCESS_H__
00002 #define __KSJ_API_MULTI_PROCESS_H__
00003 
00004 // #pragma message("Include KSJApiMultiProcess.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     KSJ_API  int __stdcall KSJ_DeviceOpen(int nIndex);
00031 
00041     KSJ_API  int __stdcall KSJ_DeviceClose(int nIndex);
00042 
00043     enum KSJ_DEVICESTATUS { KSJ_DS_CLOSE, KSJ_DS_OPEN };//相机在当前进程中的开启关闭状态的枚举类型
00044     
00055     KSJ_API  int __stdcall KSJ_DeviceGetStatus(int nIndex, KSJ_DEVICESTATUS *pDs);
00056 
00059 #ifdef __cplusplus
00060 }
00061 #endif
00062 
00063 #endif