Visual Basic invocation

(Supported on Windows only.)

mqAddGroup Bag, Selector, ItemValue, CompCode, Reason

Declare the parameters as follows:

Dim Bag       As Long 'Bag handle'
Dim Selector  As Long 'Selector'
Dim ItemValue As Long 'Nested bag handle'
Dim CompCode  As Long 'Completion code'
Dim Reason    As Long 'Reason code qualifying CompCode'