Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This function frees memory allocated by MSMQ.

Syntax

VOID MQFreeMemory(
  PVOID 
pvMemory
);

Parameters

pvMemory

[in] Pointer to the memory to be freed.

Return Value

None.

Remarks

When an application passes VT_NULL in an aPropVararray and MSMQ allocates memory for the returned property value (for example, puuidand pwszVal), MQFreeMemorymust be called.

Note:
OS versions prior to 2.12 require the MSMQ add-on pack.

Requirements

Header mq.h
Library msmqrt.lib
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later
Note Versions prior to 2.12 require the MSMQ add-on pack

See Also

Reference

aPropVar