usmessageid (USHORT)
Specifies the type of window to query. The value can be any of the following constants:
HMQW_INDEX
When HMQW_VIEWPORT is specified in usmessageid, a value must be specified in usselectionid to indicate whether a res ID, ID number, or group number is being requested.