Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Win32 Function
Message
 
 
To
03/07/2003 16:39:00
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Miscellaneous
Thread ID:
00806734
Message ID:
00806756
Views:
26
>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.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform