code: def close(self):
          
          if self.h_info and self.h_info != INVALID_HANDLE_VALUE:
              # clean up
              SetupDiDestroyDeviceInfoList(self.h_info)
          self.h_info = None
docs: Destroy allocated storage