The WaitForUpdatesEx method returns an UpdateSet data object, the composite data structure shown in the following figure.

Figure 1. UpdateSet Data Object Returned by WaitForUpdates Operations