コード例 #1
0
ファイル: Video.cs プロジェクト: 0000duck/LaserCalibrate
        public void DrawImageOnplayback(int a, int b, int c, int d)
        {
            x1 = a;
            y1 = b;
            x2 = c;
            y2 = d;
            DRAWFUN drawcross = new DRAWFUN(DrawFunCallBack);
            uint    userInfo  = new uint();

            if (!NET_DVR_RigisterPlayBackDrawFun(PlaybackHandle, drawcross, userInfo))
            {
                var iLastErr = NET_DVR_GetLastError();
                throw new Exception("NET_DVR_RigisterDrawFun failed, error code= " + iLastErr);
            }
        }
コード例 #2
0
ファイル: PlayCtrl.cs プロジェクト: tmbax0098/CameraCapture
 public static extern bool PlayM4_RegisterDrawFun(int nPort, DRAWFUN DrawFun, int nUser);
コード例 #3
0
 public extern static int RegisterDrawFun(int port, DRAWFUN DrawFun, int user);
コード例 #4
0
 public static extern bool NET_DVR_RigisterPlayBackDrawFun(int lRealHandle, DRAWFUN fDrawFun, uint dwUser);
コード例 #5
0
ファイル: ImageDrawer.cs プロジェクト: ewin66/Monitor
 public HKImageDrawer(IntPtr hWnd)
 {
     mHWnd        = hWnd;
     Transparence = 0.5f;
     mDrawFun     = new DRAWFUN(DoDrawFun);
 }
コード例 #6
0
 public static extern bool PlayM4_RigisterDrawFun(int nPort, DRAWFUN DrawFun, int nUser);
コード例 #7
0
 public extern static bool MP4_ClientRigisterDrawFun(int StockHandle, DRAWFUN DrawFun, int nUser);