TLuaWMIQuery--Demonstrates the Lua WMI interface Query = TLuaWMIQuery(); Query:Execute("select Deviceid,Size,Freespace from win32_logicaldisk"); print(Query:GetErrorDescription()); while (Query:NextInstance()) do sDeviceID = "";
bOk,sDeviceID = Query:GetProperty("Deviceid",sDeviceID); print(sDeviceID); end | |||
Topic 9738: Send Feedback. Download a PDF of this online book from the first topic in the table of contents. Print this topic. |