NETDEV_Login_V30 ipc device login
NETDEV_QueryVideoChlDetailList queries the video channel information list.
NETDEV_CaptureNoPreview device screenshot
Use restype to set the type of the received parameter.
HIKSDK。 NETDEV _ log in _ v 30 . restype = ctypes . c _ void _ p
If the type of the received parameter is not set, an exception will be thrown: the memory address is inconsistent.
When the pointer type is passed to python as a return value, default truncation occurs without setting the type.
Sdk log:
Python log: 10 1200 (user is not online)
Https://docs.python.org/3.6/library/ctypes.html # basic data type
http://icejoywoo . github . io/20 18/ 12/ 10/intro-python-ctyps . html