UnpackDDElParam function (dde.h)

Unpacks a Dynamic Data Exchange (DDE)lParam value received from a posted DDE message.

Syntax

BOOL UnpackDDElParam(
  UINT      msg,
  LPARAM    lParam,
  PUINT_PTR puiLo,
  PUINT_PTR puiHi
);

Parameters

msg

Type: UINT

The posted DDE message.

lParam

Type: LPARAM

The lParam parameter of the posted DDE message that was received. The application must free the memory object specified by the lParam parameter by calling the FreeDDElParam function.

puiLo

Type: PUINT_PTR

A pointer to a variable that receives the low-order word of lParam.

puiHi

Type: PUINT_PTR

A pointer to a variable that receives the high-order word of lParam.

Return value

Type: BOOL

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero.

Remarks

PackDDElParam eases the porting of 16-bit DDE applications to 32-bit DDE applications.

Requirements

   
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

FreeDDElParam

PackDDElParam

Reference

ReuseDDElParam