The PackDDElParam function packs a DDE lParam value into an internal structure used for sharing DDE data between processes.
LONG PackDDElParam(
UINT msg, // DDE message to be posted
UINT uiLo, // low-order word of lParam of message
UINT uiHi // high-order word of lParam of message
);
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
The return value must be posted as the lParam parameter of a DDE message; it must not be used for any other purpose. Once the application posts a return value, it need not perform any action to dispose of the lParam parameter.
PackDDElParam eases the porting of 16-bit Windows-based applications to Win32-based applications.
An application should call this function only for posted DDE messages.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in dde.h.
Import Library: Use user32.lib.
Dynamic Data Exchange Overview, Dynamic Data Exchange Functions, FreeDDElParam, ReuseDDElParam, UnpackDDElParam