Freeing PackDDElParam() Memory

ID: Q94149


The information in this article applies to:
  • Microsoft Windows Software Development Kit (SDK) 3.1
  • Microsoft Win32 Application Programming Interface (API), included with:
    • Microsoft Windows NT, versions 3.5, 3.51
    • Microsoft Windows 95

When posting DDE messages via PostMessage(), an application first calls PackDDElParam() and sends its return value (a pointer cast to LPARAM) as the lParam in PostMessage().

Normally the receiving application is responsible for freeing the structure [via FreeDDElParam()]. However, if the call to PostMessage() fails, the posting application must free the packed data. This is also the method used by 16-bit Windows.

Additional query words: 3.10 3.50 4.00

Keywords : kbNTOS350 kbNTOS351 kbWinOS95
Version :
Platform :
Issue type :


Last Reviewed: September 23, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.