windows_programming_notes.nbk: Home | Index | Next Page: WM_DDE_UNADVISE | Previous Page: WM_DDE_REQUEST
A DDE application (client or server) posts a WM_DDE_TERMINATE message to terminate a conversation.
To post this message, call the PostMessage function with the following parameters.
PostMessage( (HWND) hWnd, // handle to destination window WM_DDE_TERMINATE, // message to send (WPARAM) wParam, // handle to posting window (HWND) (LPARAM) lParam // not used; must be zero ); = Parameters =
Posting While waiting for confirmation of the termination, the posting application should not post any other messages to the receiving application. If the sending application receives messages (other than WM_DDE_TERMINATE) from the receiving application, it should delete any atoms or shared memory objects accompanying the messages, except global memory objects associated with WM_DDE_POKE or WM_DDE_DATA messages that do not have the fRelease member set.
Receiving The client or server application should respond by posting a WM_DDE_TERMINATE message.
Windows NT/2000 or later: Requires Windows NT 3.1 or later. Windows 95/98/Me: Requires Windows 95 or later. Header: Declared in Dde.h; include Windows.h.
windows_programming_notes.nbk: Home | Index | Next Page: WM_DDE_UNADVISE | Previous Page: WM_DDE_REQUEST
Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time