WinWindowFromID

Searches the children of hwndParent to find a window whose identifier matches ulId.

Syntax
WinWindowFromID (hwndParent, ulId)


 * HWND hwndParent
 * ULONG ulId

It returns the window handle (HWND) if found, or NULLHANDLE otherwise.