Sun Java System Message Queue 4.2 Developer's Guide for C Clients

MQGetStringProperty

The MQGetStringProperty function passes back the value of the specified key for the specified MQString property.


MQGetStringProperty(const MQPropertiesHandle propertiesHandle,
                          ConstMQString key,
                          ConstMQString * value);

Return Value

MQStatus. See the MQStatusIsError() function for more information.

Parameters

propertiesHandle

A properties handle for the key you want to get.

key

The name of a property key.

value

Output parameter that points to the value of the specified key

You should not modify or attempt to free the value returned.