FreeDDElParam function (dde.h)

Frees the memory specified by the lParam parameter of a posted Dynamic Data Exchange (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.

Syntax

BOOL FreeDDElParam(
  [in] UINT   msg,
  [in] LPARAM lParam
);

Parameters

[in] msg

Type: UINT

The posted DDE message.

[in] lParam

Type: LPARAM

The lParam parameter of the posted DDE message.

Return value

Type: BOOL

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

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header dde.h (include Windows.h)
Library User32.lib
DLL User32.dll
API set ext-ms-win-ntuser-misc-l1-1-0 (introduced in Windows 8)

See also

About Dynamic Data Exchange

Conceptual

PackDDElParam

Reference

ReuseDDElParam

UnpackDDElParam