Making other apps aware of a change in WIN.INI
Sometimes you have to change values in WIN.INI to alter system settings (like printer defaults and desktop background). It's recommended that you let other applications know that you have done this -- here's the way to do it.
Author:


Declare Function SendMessage (hWnd As Integer, wMsg as Integer, wParam as Integer, lParam as Any) As Long

Global Const WM_WININICHANGE = &H1A


' Call it like this:

retval& = SendMessage&(0, WM_WININICHANGE, 0, 0)