次の方法で共有


PnP Device ID

This resource is used to annotate a device component with Plug and Play information, and is required for Plug and Play device drivers. You should not manually add resources of this type, as they are created automatically when you import an .inf file into Component Designer.

The following list shows how Plug and Play device ID resources are used:

  • Target Analyzer determines the hardware and creates a corresponding configuration that can be built into a run-time image.
  • During the build process, Target Designer uses the Plug and Play device ID resources of critical devices in the configuration, such as disk controllers and system bus drivers, to populate the registry with information needed at boot time.

The following are the properties for a Plug and Play device ID resource. They are shown for informational purposes only.

  • PnPID

    Type Required or optional
    String Required

    Plug and Play identifier string as found in the .inf file.

  • IdOriginal

    Type Required or optional
    Boolean Required

    Reserved for Microsoft. Must be True.

  • IsCompatibleID

    Type Required or optional
    Boolean Required

    Set to True if this is a compatible identifier as listed in the .inf file for this device.

  • ServiceName

    Type Required or optional
    String Required

    The device driver to be used for this device. Same as the string used under the HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services registry key.

  • UpperFilter

    Type Required or optional
    Multistring Optional

    Service names of upper filters that need to be installed for this device.

  • LowerFilter

    Type Required or optional
    Multistring Optional

    Service names of lower filters that need to be installed for this device.

For information about how to create a device component for which you have an .inf file, see How to Set up a New Repository in Windows XP Embedded Studio Help.

See Also

Custom Resources

Last updated on Wednesday, October 18, 2006

© 2006 Microsoft Corporation. All rights reserved.