Patent ID: 8261292

Claim:
An information processing apparatus including: an operating system with at least a detection function for detecting a connection of devices, a generation function for generating device objects identifying device management information for detected devices, and a storage function for storing the generated device objects, and a computer-readable storage medium storing computer-executable code for a receptor, a comparator, a rewriter, and a deleter, the information processing apparatus comprising: the receptor, which is adapted to receive a notification from the operating system identifying a connection of a new device, in response to a detection by the detection function of the operating system; the comparator, which is adapted to compare first device type information of a first device object specified by the notification with second device type information of a second device object previously generated by the operating system before the first device object was generated; the rewriter, which is adapted to rewrite information of the second device object using information of the first device object in a case where the comparator determines that the first device type information and the second device type information match; and the deleter, which is adapted to delete the first device object in a case where the comparator determines that the first device type information and the second device type information match, wherein the rewriter is arranged to rewrite device port information of the second device object with device port information of the first device object.