Platform SDK: Interprocess Communications

UnpackDDElParam

The UnpackDDElParam function unpacks a DDE lParam value received from a posted DDE message.

BOOL UnpackDDElParam(
  UINT msg,         // posted DDE message
  LPARAM lParam,    // lParam of posted DDE message
  PUINT_PTR puiLo,  // low-order word of lParam
  PUINT_PTR puiHi   // high-order word of lParam
);

Parameters

msg
[in] Specifies the posted DDE message.
lParam
[in] Specifies 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
[out] Pointer to a variable that receives the low-order word of lParam.
puiHi
[out] Pointer to a variable that receives the high-order word of lParam.

Return Values

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

  Windows NT/2000: Requires Windows NT 3.1 or later.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in Dde.h; include Windows.h.
  Library: Use User32.lib.

See Also

Dynamic Data Exchange Overview, Dynamic Data Exchange Functions, FreeDDElParam, PackDDElParam, ReuseDDElParam