Desktop Functions: Smart Device Functions:
|
EnumWindowsProc (Delegates)
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) then you want to declare the lparam as a ref: C#:
delegate bool EnumWindowsProc(IntPtr hWnd, ref IntPtr lParam); VB.NET:
Delegate Function EnumWindowsProc(ByVal hWnd As IntPtr, ByRef lParam As IntPtr) As Boolean Please edit this page!Do you have...
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed. |
|