¡@

Home 

python Programming Glossary: blocklength

Python & Ctypes: Passing a struct to a function as a pointer to get back data

http://stackoverflow.com/questions/4351721/python-ctypes-passing-a-struct-to-a-function-as-a-pointer-to-get-back-data

unsigned char Address unsigned char Command unsigned char BlockLength unsigned char Data SMB_MAX_DATA_SIZE SMB_REQUEST I think I have.. I think I have to set values for the Address Command and BlockLength while the DLL fills the Data array. The function that requires.. ctypes.Structure _fields_ Address c_char Command c_char BlockLength c_char Data type create_string_buffer SMB_MAX_DATA_SIZE Note..