code: def get_fptr(self):
          
          cmpfunc = ctypes.CFUNCTYPE(ctypes.c_int,
                                     WPARAM,
                                     LPARAM,
                                     ctypes.POINTER(KBDLLHookStruct))
          return cmpfunc(self.handle_input)
docs: Get the function pointer.