MQGET API requires input parameters: Object Handle (Hobj), Buffer (to receive message), Buffer Length (size of buffer), and Connection Handle (Hconn). The 'Length of application data in message' is an OUTPUT parameter (returned in the DataLength field) that tells you how much data was actually retrieved, not an input you provide.