msgs12.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
WM_DDE_INITIATE (1.2)
Message Group  Overview                           Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINDDE
 
WM_DDE_INITIATE
mp1 = (MPARAM) ((HWND) hwnd);    /* sender's window              */
mp2 = MPFROMP(pddei);            /* pointer to DDEINIT structure */
 
The WM_DDE_INITIATE message is sent by a client application to exchange data
with one or more server applications. This message is often sent to all
current applications by calling WinBroadcastMsg.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
hwnd       Low and high word of mp1. Identifies the sender application's
           window.
 
pddei      Low and high word of mp2. Points to a DDEINIT structure that
           contains an application name and a topic name. All applications
           with matching names that support the topic are expected to
           acknowledge by calling the WinDdeRespond function.
 
See Also
 
WinBroadcastMsg, WinDdeRespond, WM_DDE_INITIATEACK, WM_DDE_TERMINATE,
DDEINIT