PackDDElParam

  LONG PackDDElParam(msg, uiLo, uiHi)    
  UINT msg;    
  UINT uiLo;    
  UINT uiHi;    

The PackDDElParam function packs a DDE lParam value into a structure allocated specially for sharing between processes.

The PackDDElParam function is designed to ease porting from 16-bit applications.

For consistency, this function can be used successfully on all posted DDE messages.

Parameters

msg

The DDE message being posted.

uiLo

A value that corresponds to the Windows 3.0/3.1 LOWORD of the lParam for the DDE message being posted.

uiHi

A value that corresponds to the Windows 3.0/3.1 HIWORD of the lParam for the DDE message being posted.

Return Value

If the function succeeds, the return value is non-zero.

The return value is to be posted as the lParam to a DDE message. The return value is not to be used for any other purpose. Once posted, there is no action required on the part of the posting application for disposal of this value.

If the function fails, the return value is 0.

See Also

UnpackDDElParam, FreeDDElParam