This macro is defined as:
#define WinQueryLboxCount(hwndLbox) \ ((LONG)WinSendMsg(hwndLbox, \ LM_QUERYITEMCOUNT, \ (MPARAM)NULL, \ (MPARAM)NULL))
This macro requires the existence of a message queue.