//--------------------------------------------------------------------------- #ifndef HSClientAPIH #define HSClientAPIH extern "C" { void __stdcall HSPTZSetting(BOOL type, BYTE bChannel, int position); //060411 ksg PTZ Add int __stdcall HSConnect(char *ip, int port, char *id, char *pw, BYTE *RecvCam, BYTE connectType); int __stdcall HSConnect1(long ip, int port, char *id, char *pw, BYTE *RecvCam, BYTE connectType); void __stdcall HSDisConnect(); int __stdcall HSClassOpen(long hwParent, BYTE bType=0); void __stdcall HSClassClose(); void __stdcall HSAddCam(BYTE *AddCam); BYTE __stdcall HSRelay(BYTE bCh, BYTE bFlag); //Relay Setting BYTE __stdcall HSGetRelay(BYTE bi); int __stdcall HSSetConfig(void *pFuncImage); //Image CallBack int __stdcall HSSetSignal(void *pFuncSignal); //Signal CallBack void __stdcall HSSetRelay(void *pFuncRelay); //Relay CallBack void __stdcall HSSetDisConnect(void *pFuncDisConnect); //Disconnect CallBack //2005.10.24 64ch BYTE __stdcall HSGetMaxCamera(); //MaxCamera(MaxChannel) //search api 2006.03.30 long __stdcall HSSchInitialize(void * pfRecvImage, void * pfRecvDisconnect); void __stdcall HSSchClose(); long __stdcall HSSchConnect(LPCTSTR pszIP, short nPort, LPCTSTR pszID, LPCTSTR pszPW, long nType); void __stdcall HSSchDisConnect(); void __stdcall HSSchGoto(short nYear, short nMonth, short nDay, short nHour, short nMinute, short nSecond, short nCamera); void __stdcall HSSchPlay(); void __stdcall HSSchPause(); void __stdcall HSSchStop(); void __stdcall HSSchReverse(); void __stdcall HSSchSetPlaySpeed(short nSpeed); //<-- } #endif