Guidance
指路人
g.yi.org
Software / Reginald / Examples / repository / Hardware / Firmware / chassis.rex

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

  
/* Retrieves an integer value indicating the chassis type for a computer (mini-tower, laptop, etc.) */
strcomputer = "."
objwmiservice = getobject("winmgmts:{impersonationLevel=impersonate}!\\" || strcomputer || "\root\cimv2")
colchassis = objwmiservice~execquery("Select * from Win32_SystemEnclosure")
DO objchassis OVER colchassis
	chassis. = objchassis~chassistypes
	DO i OVER chassis.
		SAY VALUE("chassis." || i)
	END
	SAY
END

掌柜推荐
 
 
¥1,390.00 ·
 
 
¥287.00 ·
 
 
¥410.00 ·
 
 
¥1,380.00 ·
 
 
¥1,080.00 ·
 
 
¥271.00 ·
© Sun 2024-11-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0 Last modified:2010-07-16 20:49:16