@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: Callback used by EnumWindows !!!!C# Definition: private delegate bool EnumWindowsProc(IntPtr hWnd, IntPtr lParam); !!!!VB Definition: Private Delegate Function EnumWindowsProc(ByVal hWnd As IntPtr, ByVal lParam As IntPtr) As Boolean !!!!Notes: If you’re going to use the lParam to return a by-value result (such as the hwnd of a window you are looking for), you’ll want to send lParam by reference: !!!!!!!C#: private delegate bool EnumWindowsProc(IntPtr hWnd, ref IntPtr lParam); !!!!!!!VB.NET: Private Delegate Function EnumWindowsProc(ByVal hWnd As IntPtr, ByRef lParam As IntPtr) As Boolean You can use any data type for lParam if it is 'ref', since as a 'ref' it is already being passed as a pointer. Documentation: EnumWindowsProc@msdn on MSDN
Edit Delegates.EnumWin...
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.