On Windows XP and onlater you can view the VEN_* and DEV_*OS device identifiers for a given hardware component in Device Manager; those often include hardware-reported device identifiers, like PCI vendor/product ID pairs.
Is this possible to look up the latter in Windows ME? I I didn't find it.
Also see this image: screenshot of hardware IDs