Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting Key Repeat Rate
Message
From
12/12/2000 20:56:06
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00452592
Message ID:
00452672
Views:
16
>>Correction:
>>
>>
DECLARE SHORT SystemParametersInfo IN WIN32API ;
>
>Hmm, forgot about that one. Actually, with the code you posted earlier, too, at least in this case. If pvParam gets used by other GETs or SETs, it'll become an issue.

SPI_GETs return values through pvParam, and SPI_SETs pass values via uiParam, and there are a ton of constants associated with it, so it really requires the detailed docs; the MSDN Platform SDK + the VB API Viewer are enough. You can limit the scope of visibility of a change using the last parameter so that existing apps don't see a change, but anything started uses the current setting, so performance can be very wierd.

You need to read the description of each SPI option carefully to make sure that you pass the right things, especially when interpreting pvParam from a SPI_GET return, and you can upset users very easily.
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