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

Points to a value the function will set to the low-order word of lParam.

puiHi

Points 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.

See Also

FreeDDElParam, PackDDElParam, ReuseDDElParam