Edit

Share via


Device Icon File

Important

Device metadata is deprecated and will be removed in a future release of Windows. For information about the replacement for this functionality, see Driver Package Container Metadata.

A device metadata package can contain one photo-realistic image, or icon, that represents the device in the Devices and Printers user interface. The image is stored in an icon file, and the file name must be specified in the DeviceIconFile element of the package's DeviceInfo XML document.

If the device metadata package does not contain a device icon file and DeviceIconFile element, the Devices and Printers user interface displays a default icon for the device. This icon is based on the device's category type that is specified in the DeviceCategory element of the DeviceInfo XML document.

Note

We highly recommend that the device metadata package contain a device icon file, which is used to display the photo-realistic image of the device in the Devices and Printers user interface. For more information about how to create icons that have the same display qualities of Windows graphical elements, refer to Icons in the Microsoft SDK.