Beispiel #1
0
 internal static int USNTDVR_StopRealPlay(int playHandle)
 {
     if (_isX64)
     {
         return(USNTDvrDll64.USNTDVR_StopRealPlay(playHandle));
     }
     else
     {
         return(USNTDvrDll32.USNTDVR_StopRealPlay(playHandle));
     }
 }
Beispiel #2
0
 public static int USNTDVR_RealPlay_V30(int lUserID, ref NET_DVR_CLIENTINFO lpClientInfo, RealDataCallBack_V30 realDataCallBack, IntPtr pUser, int bBlocked)
 {
     if (_isX64)
     {
         return(USNTDvrDll64.USNTDVR_RealPlay_V30(lUserID, ref lpClientInfo, realDataCallBack, pUser, bBlocked));
     }
     else
     {
         return(USNTDvrDll32.USNTDVR_RealPlay_V30(lUserID, ref lpClientInfo, realDataCallBack, pUser, bBlocked));
     }
 }
Beispiel #3
0
 public static int USNTDVR_GetLastError()
 {
     if (_isX64)
     {
         return(USNTDvrDll64.USNTDVR_GetLastError());
     }
     else
     {
         return(USNTDvrDll32.USNTDVR_GetLastError());
     }
 }
Beispiel #4
0
 public static int USNTDVR_Logout_V30(int lUserID)
 {
     if (_isX64)
     {
         return(USNTDvrDll64.USNTDVR_Logout_V30(lUserID));
     }
     else
     {
         return(USNTDvrDll32.USNTDVR_Logout_V30(lUserID));
     }
 }
Beispiel #5
0
 public static int USNTDVR_Login_V30(string sDVRIP, ushort wDVRPort, string sUserName, string sPassword, out NET_DVR_DEVICEINFO_V30 lpDeviceInfo)
 {
     if (_isX64)
     {
         return(USNTDvrDll64.USNTDVR_Login_V30(sDVRIP, wDVRPort, sUserName, sPassword, out lpDeviceInfo));
     }
     else
     {
         return(USNTDvrDll32.USNTDVR_Login_V30(sDVRIP, wDVRPort, sUserName, sPassword, out lpDeviceInfo));
     }
 }
Beispiel #6
0
 public static int USNTDVR_Cleanup()
 {
     if (_isX64)
     {
         return(USNTDvrDll64.USNTDVR_Cleanup());
     }
     else
     {
         return(USNTDvrDll32.USNTDVR_Cleanup());
     }
 }