Jump to content

WM_DDE_EXECUTE

From EDM2
Revision as of 02:08, 28 April 2025 by Martini (talk | contribs) (Created page with "{{DISPLAYTITLE:WM_DDE_EXECUTE}} This message posts a string to a server application to be processed as a series of commands. The server application is expected to post a WM_DDE_ACK message in response. This message is always posted. ==Syntax== <pre> param1 HWND hwnd; Window handle of the server.: param2 PDDESTRUCT pDdeStruct; DDE structure.: </pre> ==Parameters== ;hwnd (HWND) - input: Window handle of the server. ;pDdeStruct (PDDESTRUCT)...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This message posts a string to a server application to be processed as a series of commands. The server application is expected to post a WM_DDE_ACK message in response. This message is always posted.

Syntax

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

param2
PDDESTRUCT pDdeStruct; /* DDE structure. */

Parameters

hwnd (HWND) - input
Window handle of the server.
pDdeStruct (PDDESTRUCT) - input
DDE structure.
This points to a dynamic data exchange structure. See DDESTRUCT.
offabData contains the commands to be executed.

Returns

ulReserved (ULONG) - return
Reserved value, should be 0.

Remarks

The receiving application responds with a positive WM_DDE_ACK message if it can honor the request, otherwise it responds with a negative WM_DDE_ACK message.

The data portion of the WM_DDE_ACK message, in either case, must contain the original command string. The requesting application compares the command string in the acknowledgement to its original request to determine which request the acknowledgement is for.

The response is posted to the window handle specified in the first message parameter.

Default Processing

None.