Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.


Windows Mobile 6.5
A version of this page is also available for

This function is an application-defined callback function that receives top-level window handles as a result of a call to the EnumWindows function.

BOOL CALLBACK EnumWindowsProc(
  HWND hwnd, 
  LPARAM lParam 


[out] Handle to a top-level window.


[in] Specifies the application-defined value given in EnumWindows.

TRUE continues enumeration. FALSE stops enumeration.

An application must register this callback function by passing its address to EnumWindows.

Windows Embedded CEWindows CE 1.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

© 2015 Microsoft