Guidance
指路人
g.yi.org
Software / Reginald / Examples / repository / Hardware / Peripherals / PNP.rex

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
strcomputer = "."
objwmiservice = getobject("winmgmts:{impersonationLevel=impersonate}!\\" || strcomputer || "\root\cimv2")
colitems = objwmiservice~execquery("Select * from Win32_PnPEntity")
DO objitem OVER colitems
	SAY "Class GUID:" objitem~classguid
	SAY "Description:" objitem~description
	SAY "Device ID:" objitem~deviceid
	SAY "Manufacturer:" objitem~manufacturer
	SAY "Name:" objitem~name
	SAY "PNP Device ID:" objitem~pnpdeviceid
	SAY "Service:" objitem~service
	SAY
END
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Tue 2022-11-29  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0 Last modified:2010-07-16 20:49:16