IntControl 60

Syntax:

IntControl (60, p1, p2, 0, 0)

 

Sends a WM_DEVMODECHANGE message.

This IntControl sends a message to one or all application windows, informing them that a change has been made to device mode settings.

 

p1 = window handle of the window to send the message to, or -1 for all top-level windows.

 

p2 = name of the device (as specified in the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\win.ini[Devices]) whose settings have been changed.

 

Returns @TRUE on success; @FALSE on error.