Improve ctypes import.
Work on FrameCallback function.