I have a ctypes structure,
The class NET_DVR_SEND_PARAM_IN (Structure) :
_fields_=[
(" pSendData c_void_p),
(" dwSendDataLen c_ulong)
]
Now I would like to open an image to the buffer, and the address and size of the buffer to pSendData and dwSendDataLen, how to write code?