MQFreeMemory

The MQFreeMemory function frees memory allocated by MSMQ.

VOID MQFreeMemory(
  PVOID pvMemory  
);
 

Parameters

pvMemory
[in] Pointer to the memory to be freed.

Remarks

Whenever an application passes VT_NULL in an aPropVar array and MSMQ allocates memory for the returned property value (for example, puuid and pwszVal), MQFreeMemory must be called.

For MQLocateNext, all properties whose values returned by MSMQ are stored outside aPropVar and must also be freed using MQFreeMemory.

See Also

MQLocateNext


© 1997 by Microsoft Corporation. All rights reserved.