Ejemplo n.º 1
0
 public static int NET_DVR_StopRealPlay(int nPlayHandle)
 {
     if (_isX64)
     {
         return(NetDvrDll64.NET_DVR_StopRealPlay(nPlayHandle));
     }
     else
     {
         return(NetDvrDll32.NET_DVR_StopRealPlay(nPlayHandle));
     }
 }
Ejemplo n.º 2
0
 public static int NET_DVR_SerialStart(int lUserID, int lSerialPort, SerialDataCallBack fSerialDataCallBack, IntPtr dwUser)
 {
     if (_isX64)
     {
         return(NetDvrDll64.NET_DVR_SerialStart(lUserID, lSerialPort, fSerialDataCallBack, dwUser));
     }
     else
     {
         return(NetDvrDll32.NET_DVR_SerialStart(lUserID, lSerialPort, fSerialDataCallBack, dwUser));
     }
 }
Ejemplo n.º 3
0
 public static int NET_DVR_Logout_V30(int lUserID)
 {
     if (_isX64)
     {
         return(NetDvrDll64.NET_DVR_Logout_V30(lUserID));
     }
     else
     {
         return(NetDvrDll32.NET_DVR_Logout_V30(lUserID));
     }
 }
Ejemplo n.º 4
0
 public static int NET_DVR_RealPlay_V30(int lUserID, ref NET_DVR_CLIENTINFO lpClientInfo, RealDataCallBack_V30 realDataCallBack, IntPtr pUser, int bBlocked)
 {
     if (_isX64)
     {
         return(NetDvrDll64.NET_DVR_RealPlay_V30(lUserID, ref lpClientInfo, realDataCallBack, pUser, bBlocked));
     }
     else
     {
         return(NetDvrDll32.NET_DVR_RealPlay_V30(lUserID, ref lpClientInfo, realDataCallBack, pUser, bBlocked));
     }
 }
Ejemplo n.º 5
0
 public static int NET_DVR_Login_V30(string sDVRIP, ushort wDVRPort, string sUserName, string sPassword, out NET_DVR_DEVICEINFO_V30 lpDeviceInfo)
 {
     if (_isX64)
     {
         return(NetDvrDll64.NET_DVR_Login_V30(sDVRIP, wDVRPort, sUserName, sPassword, out lpDeviceInfo));
     }
     else
     {
         return(NetDvrDll32.NET_DVR_Login_V30(sDVRIP, wDVRPort, sUserName, sPassword, out lpDeviceInfo));
     }
 }
Ejemplo n.º 6
0
 public static int NET_DVR_Cleanup()
 {
     if (_isX64)
     {
         return(NetDvrDll64.NET_DVR_Cleanup());
     }
     else
     {
         return(NetDvrDll32.NET_DVR_Cleanup());
     }
 }
Ejemplo n.º 7
0
 public static int NET_DVR_GetLastError()
 {
     if (_isX64)
     {
         return(NetDvrDll64.NET_DVR_GetLastError());
     }
     else
     {
         return(NetDvrDll32.NET_DVR_GetLastError());
     }
 }
Ejemplo n.º 8
0
 public static int NET_DVR_SerialStop(int lSerialHandle)
 {
     if (_isX64)
     {
         return(NetDvrDll64.NET_DVR_SerialStop(lSerialHandle));
     }
     else
     {
         return(NetDvrDll32.NET_DVR_SerialStop(lSerialHandle));
     }
 }
Ejemplo n.º 9
0
 public static int NET_DVR_SerialSend(int lSerialHandle, int lChannel, IntPtr pSendBuf, uint dwBufSize)
 {
     if (_isX64)
     {
         return(NetDvrDll64.NET_DVR_SerialSend(lSerialHandle, lChannel, pSendBuf, dwBufSize));
     }
     else
     {
         return(NetDvrDll32.NET_DVR_SerialSend(lSerialHandle, lChannel, pSendBuf, dwBufSize));
     }
 }