DelegatesEnumWindowsProc Delegate

An application-defined callback function used with the EnumWindows(DelegatesEnumWindowsProc, IntPtr) or EnumDesktopWindows(IntPtr, DelegatesEnumWindowsProc, IntPtr) function.

It receives top-level window handles.

The WNDENUMPROC type defines a pointer to this callback function.

DelegatesEnumWindowsProc is a placeholder for the application-defined function name.

Definition

Namespace: DevCase.Win32.Delegates
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public delegate bool EnumWindowsProc(
	IntPtr hWnd,
	IntPtr lParam
)

Parameters

hWnd  IntPtr
A handle to a top-level window.
lParam  IntPtr
The application-defined value given in EnumWindows(DelegatesEnumWindowsProc, IntPtr) or EnumDesktopWindows(IntPtr, DelegatesEnumWindowsProc, IntPtr) functions.

Return Value

Boolean
To continue enumeration, the callback function must return ; to stop enumeration, it must return .

Remarks

See Also