A DLL provides functions that take reference to user defined data types as inputs/arguments and returns user defined data types as outputs. The user defined data types are created using C structures.
While calling the function from python (ctypes.cdll), how should these data types be created in python and how should the return value - which is also a user defined data type - be retrieved and processed?
Can an example of this use-case be provided?