Jump to content

WM_DDE_INITIATE

From EDM2
Revision as of 02:10, 28 April 2025 by Martini (talk | contribs) (Created page with "{{DISPLAYTITLE:WM_DDE_INITIATE}} This message is sent by an application to one or more other applications, to request initiation of a conversation. This message is always sent. ==Syntax== <pre> param1 HWND hwnd; Window handle of the sender.: param2 PDDEINIT pData; Pointer to initiation data.: </pre> ==Parameters== ;hwnd (HWND) - input: Window handle of the sender. ;pData (PDDEINIT) - input: Pointer to initiation data. ::This points to a DDEINI...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This message is sent by an application to one or more other applications, to request initiation of a conversation. This message is always sent.

Syntax

param1
HWND hwnd;      /* Window handle of the sender. */

param2
PDDEINIT pData; /* Pointer to initiation data. */

Parameters

hwnd (HWND) - input
Window handle of the sender.
pData (PDDEINIT) - input
Pointer to initiation data.
This points to a DDEINIT structure. pszAppName is the name of the desired
server application; if this is a zero-length string, any application can respond.
pszTopic is the name of the desired topic; if this is a zero-length string, each
responding application responds once for each topic that it can support.

Returns

rc (BOOL) - return
Success indicator.
TRUE: Successful completion.
FALSE: Error occurred.

Remarks

Upon receiving this message, all applications with names matching the application name (where specified), that support the topic identified by the topic name, are expected to acknowledge.

A modal window, for example a message box, must not be invoked during the processing of this message.

Default Processing

The default window procedure frees the segment referenced by param2.