Microsoft KB Archive/94149

{|
 * width="100%"|

Freeing PackDDElParam Memory

 * }

Q94149

-

The information in this article applies to:


 * Microsoft Windows Software Development Kit (SDK) 3.1
 * Microsoft Win32 Application Programming Interface (API), included with:
 * the operating system: 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 : kbOSWinNT350 kbOSWinNT351 kbOSWin95

Issue type :

Technology : kbAudDeveloper kbSDKSearch kbWin32sSearch kbWin32API kbWinSDKSearch