code: def _unregister_hid_notification(self):
          "Remove PnP notification handler"
          if not int(self.__h_notify):
              return #invalid
          result          = UnregisterDeviceNotification(self.__h_notify)
          self.__h_notify = None
          return int(resultf _unregister_hid_notification(self):
          "Remove PnP notification handler"
          if not int(self.__h_notify):
              return #invalid
          result          = UnregisterDeviceNotification(self.__h_notify)
          self.__h_notify = None
          return int(result)
docs: Remove PnP notification handler