#include<hmq.h> MQEVOID MQeTerminate( MQEHSESS hSess, MQEINT32 * pCompCode, MQEINT32 * pReason)
#include <hmq.h> MQEHSESS hSess; MQEINT32 compcode; MQEINT32 reason; hSess = MQeInitialize("MyAppsName", &compcode, &reason); if (hSess!=NULL) { MQeTerminate(hSess, &compcode, &reason); }