WM_DDE_TERMINATE message

A Dynamic Data Exchange (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.

#define WM_DDE_TERMINATE       0x03E1

Parameters

wParam

A handle to the client or server window posting the message.

lParam

This parameter is not used.

Remarks

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.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Dde.h (include Windows.h)

See also

Reference

PostMessage

SendMessage

WM_DDE_DATA

WM_DDE_POKE

Conceptual

About Dynamic Data Exchange