UnpackDDElParam

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

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

Parameters

msg
Specifies the posted DDE message.
lParam
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
Pointer to a value the function will set to the low-order word of lParam.
puiHi
Pointer to a value the function will set to 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.

QuickInfo

  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.

See Also

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