Groups | Blog | Home
all groups > dotnet compact framework > september 2003 >

dotnet compact framework : Help - C++ to C# code conversion


Tim Wilson [MVP]
9/10/2003 4:50:55 PM
private const int HWND_BROADCAST = 0xFFFF;
private const int WM_WININICHANGE = 0x001A;

[System.Runtime.InteropServices.DllImport("coredll.dll")]
private static extern int SendMessage(int hWnd, int iMsg, int wParam, int
lParam);

SendMessage(HWND_BROADCAST, WM_WININICHANGE, 0xF2, 0);

--
Tim Wilson
Windows Embedded MVP

[quoted text, click to view]

chris-s
9/10/2003 9:39:28 PM
Hi,

Could somebody possibly provide the equivilent c# translation of the
following c++ code snippet?

::SendMessage(HWND_BROADCAST, WM_WININICHANGE, 0xF2, 0);



Chris.

AddThis Social Bookmark Button