海康流媒体转发服务器HIKS_CreatePlayer问题!!
一木浮生 2010-11-22 03:11:56 CLIENT_API HSESSION __stdcall
HIKS_CreatePlayer(IHikClientAdviseSink* pSink, void* pWndSiteHandle,
pDataRec pRecFunc, pMsgBack pMsgFunc=0, int TransMethod=0)
作用:创建 Player。pSink 为回调函数集合类指针, pWndSiteHandle 为显示
窗口句柄,cfun为回调函数指针。如果pWndSiteHandle是否为NULL表示是否
被实时播放,如果pWndSiteHandle 为NULL,表示不被实时播放。pRecFunc 指
向处理数据录像的函数,如果pRecFunc 为NULL,表示不录像。pMsgFunc 为消
息回调函数句柄,它的功能和第一个参数 pSink 表示的回调函数集合的功能一
致,只不过采用了不同形式,pMsgFunc 和pSink 不能同时为null。
谢谢大虾给出具体的调用方法,如何创建形参IHikClientAdviseSink* pSink??