|
WindowHelperEnumWindows Method |
Enumerates all top-level windows on the screen by passing the handle to each window, in
turn, to an application-defined callback function. EnumWindows continues until the last
top-level window is enumerated or the callback function returns FALSE.
EnumWindows function Namespace: Xcalibur.NativeMethods.V2.WindowsAssembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax [DllImportAttribute("user32.dll")]
public static bool EnumWindows(
WindowHelperEnumWindowsProc enumWindowsProcessorDelegate,
IntPtr lParam
)
<DllImportAttribute("user32.dll">]
Public Shared Function EnumWindows (
enumWindowsProcessorDelegate As WindowHelperEnumWindowsProc,
lParam As IntPtr
) As Boolean
public:
[DllImportAttribute(L"user32.dll")]
static bool EnumWindows(
WindowHelperEnumWindowsProc^ enumWindowsProcessorDelegate,
IntPtr lParam
)
[<DllImportAttribute("user32.dll")>]
static member EnumWindows :
enumWindowsProcessorDelegate : WindowHelperEnumWindowsProc *
lParam : IntPtr -> bool
Parameters
- enumWindowsProcessorDelegate WindowHelperEnumWindowsProc
- A pointer to an application-defined callback
function.
- lParam IntPtr
- An application-defined value to be passed to the callback function.
Return Value
BooleanSee Also