General information
Category:
Windows API functions
I am trying to give the users the ability to set the wallpaper. Being a bit of a newbie to API programming I've hunted around and come across the SystemParametersInfo function. However, when I use the following code....
DECLARE INTEGER SystemParametersInfo IN USER32 uAction AS INTEGER uParam AS INTEGER lpvParam AS STRING fuWinIni AS INTEGER
SystemParametersInfo(20,0,"C:\TEST.BMP",0)
...I get a 'Too many arguments' error.
Any clues?
Cheers!
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only