Platform SDK: Interprocess Communications

FreeDDElParam

The FreeDDElParam function frees the memory specified by the lParam parameter of a posted DDE message. An application receiving a posted DDE message should call this function after it has used the UnpackDDElParam function to unpack the lParam value.

BOOL FreeDDElParam(
  UINT msg,       // posted DDE message
  LPARAM lParam   // lParam of message
);

Parameters

msg
[in] Specifies the posted DDE message.
lParam
[in] Specifies the lParam parameter of the posted DDE message.

Return Values

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero.

Remarks

An application should call this function only for posted DDE messages.

This function frees the memory specified by the lParam parameter. It does not free the contents of lParam.

Requirements

  Windows NT/2000: Requires Windows NT 3.1 or later.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in Dde.h; include Windows.h.
  Library: Use User32.lib.

See Also

Dynamic Data Exchange Overview, Dynamic Data Exchange Functions, PackDDElParam, ReuseDDElParam, UnpackDDElParam