Click here to Skip to main content
15,892,674 members
Articles / Programming Languages / C++

System Information Utility

Rate me:
Please Sign up or sign in to vote.
4.95/5 (12 votes)
17 Apr 2001 502K   8.6K   107  
Utility to extract system information
// SystemDevices.idl : IDL source for SystemDevices
//

// This file will be processed by the MIDL tool to
// produce the type library (SystemDevices.tlb) and marshalling code.

import "oaidl.idl";
import "ocidl.idl";

[
	object,
	uuid(75C1929D-32A1-4B41-AF2D-C692F706B0DE),
	dual,
	nonextensible,
	helpstring("IHWDevices Interface"),
	pointer_default(unique)
]
interface IHWDevices : IDispatch{
	[id(1), helpstring("method GetHWDevicesInfo")] HRESULT GetHWDevicesInfo(void);
};
[
	uuid(191ABCD8-39C9-49C6-AECE-8535F2297F7F),
	version(1.0),
	helpstring("SystemDevices 1.0 Type Library")
]
library SystemDevicesLib
{
	importlib("stdole2.tlb");
	[
		uuid(C01BDCE7-43F9-463A-B143-4A1419D843DC),
		helpstring("HWDevices Class")
	]
	coclass HWDevices
	{
		[default] interface IHWDevices;
	};
};

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions