diff --git a/avaspec.py b/avaspec.py index 983edac..4eb679d 100755 --- a/avaspec.py +++ b/avaspec.py @@ -127,6 +127,7 @@ def AVS_GetList(listsize, requiredsize, IDlist): prototype = ctypes.WINFUNCTYPE(ctypes.c_int, ctypes.c_int, ctypes.POINTER(ctypes.c_int), ctypes.POINTER(AvsIdentityType)) paramflags = (1, "listsize",), (2, "requiredsize",), (2, "IDlist",), AVS_GetList = prototype(("AVS_GetList", lib), paramflags) + print(listsize) ret = AVS_GetList(listsize) # looks like you only pass the '1' parameters here # the '2' parameters are returned in 'ret' !!!