#include <ddeml.h>
XTYP_EXECUTE
hszTopic = hsz1; /* handle of the topic-name string */
hDataCmd = hData; /* handle of the command string */
A server's DDE callback function receives this transaction when a client specifies XTYP_EXECUTE for the wType parameter of the DdeClientTransaction function. A client uses this transaction to send a command string to the server.
hszTopic
Value of hsz1. Identifies the topic name.
hDataCmd
Value of hData. Identifies the command string.
A server's DDE callback function should return DDE_FACK if it processes this transaction, DDE_FBUSY if it is too busy to process this transaction, or DDE_FNOTPROCESSED if it denies this transaction.
If the server application specified the CBF_FAIL_EXECUTES flag in the DdeInitialize function, this transaction is filtered.
An application need not free the data handle obtained during this transaction. If the application needs to process the string after the callback function returns, however, the application must copy the command string associated with the data handle. An application can use the DdeGetData function to copy the data.