PnPXID command

The PnPXID command returns the Plug and Play (PnP) identifier (ID) in the form of the function discovery key, PKEY_PNPX_ID. This key returns the unique identifier of the service or device. The output buffer contains a NULL-terminated string that represents the identifier.