Use pidl for _PNP_ValidateDeviceInstance().