Currently the type system for syscalls is very rough and you need to do a lot of manual work. A type system similar to ctypes needs to be implemented where you can set struct members, work with enums etc.
Once the type system is complete a pdb/header parser can be implemented to support all the native types.