SystemParametersInfo_
Posted: Tue Aug 08, 2006 7:11 pm
Hello
I have been trying to get the desktop picture name the correct way,
using SystemParametersInfo_ according to MSDN
http://msdn.microsoft.com/library/defau ... rsinfo.asp
Please Note : I am using windows 2000 pro sp4 and I can set the wallpaper ok...
I suppose I could always get it from the Registry as a last resort...
P.S. I am using Bitmaps
Regards
Kevin
I have been trying to get the desktop picture name the correct way,
using SystemParametersInfo_ according to MSDN
http://msdn.microsoft.com/library/defau ... rsinfo.asp
Code: Select all
Get_DeskTop_WallPaper=AllocateMemory(#MAX_PATH+1)
SystemParametersInfo_(#SPI_GETDESKWALLPAPER, #MAX_PATH, *Get_DeskTop_WallPaper, 0)
Debug PeekS(Get_DeskTop_WallPaper)
I suppose I could always get it from the Registry as a last resort...
P.S. I am using Bitmaps
Regards
Kevin
