Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Obtain processor's velocity
Message
From
03/10/2002 08:08:49
 
 
To
02/10/2002 12:19:37
Emerson Reed
Folhamatic Tecnologia Em Sistemas
Americana - São Paulo, Brazil
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00706818
Message ID:
00707259
Views:
18
>Ed, please help me...
>I don't know what means the parameters use in functions of RegKey FFC. Which method I need to call and your respective parameters I need to pass to retrieve the value of these regkey "HKLM\HARDWARE\DESCRIPTION\System\CentralProcessor\0\~MHz"?

It is not available to systems running Win9x/WinME at all; on NT/Win2K and WinXP, you'd need to use GetRegKeyValue, with a key specifier of "HARDWARE\DESCRIPTION\System\CentralProcessor\0\~MHz", a Hive Identifier of HKEY_LOCAL_MACHINE (a constant defined in REGISTRY.H) and a KeyValueName of "" (the empty string.) It is not available at all in any case to systems running Win95/Win98 or WinME, and requires different keys under Windows Terminal Server, since there are keys for both the client and the Terminal Server box, and different keys under WinNT/2K/XP in a multiprocessor machine, since the processor affinity for a given process may not be to the first enumerated CPU. Using this key is a poor idea.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform