Thanks for the snippet. I can already see that you have used c_int16 for enums, where it should be c_int32. In my examples I use the following argtypes: [c_int16, c_void_p, c_int32, c_uint32, c_uint32, c_int16, c_uint32, c_int32, c_uint32] It may have difference, depending on the byte alignment betw...