Visual Basic invocation

(Supported on Windows only.)

mqClearBag Bag, CompCode, Reason

Declare the parameters as follows:

Dim Bag      As Long 'Bag handle'
Dim CompCode As Long 'Completion code'
Dim Reason   As Long 'Reason code qualifying CompCode'