PackDDElParam function (dde.h)

Packs a Dynamic Data Exchange (DDE) lParam value into an internal structure used for sharing DDE data between processes.

Syntax

LPARAM PackDDElParam(
  [in] UINT     msg,
  [in] UINT_PTR uiLo,
  [in] UINT_PTR uiHi
);

Parameters

[in] msg

Type: UINT

The DDE message to be posted.

[in] uiLo

Type: UINT_PTR

A value that corresponds to the 16-bit Windows low-order word of an lParam parameter for the DDE message being posted.

[in] uiHi

Type: UINT_PTR

A value that corresponds to the 16-bit Windows high-order word of an lParam parameter for the DDE message being posted.

Return value

Type: LPARAM

The return value is the lParam value.

Remarks

The return value must be posted as the lParam parameter of a DDE message; it must not be used for any other purpose. After the application posts a return value, it need not perform any action to dispose of the lParam parameter.

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

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

Reference

ReuseDDElParam

UnpackDDElParam