>I wasn't sure what catagory to classify an win 32 function in, but I found a web site that has a function for retrieving hardware information from a local machine, but I don't understand how to use the info from it. Here is what the function looks like:
>
>DECLARE INTEGER GetCurrentHwProfile IN advapi32 STRING @ lpHwProfileInfo
>
>So when you use this function, how to you obtain the info? Where does the info get stored?
Kevin,
This refers to a HW_PROFILE_INFO structure. See MSDN documentation on this function here:
http://msdn.microsoft.com/library/en-us/sysinfo/base/getcurrenthwprofile.asp. The link to what the HW_PROFILE_INFO looks like and what it stores is on the page.
You can view the WinAPI example here to see how to implement structures using character strings inthe API section or at
www.news2news.com.
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao