XTYP_EXECUTE

A DDE server callback function receives this transaction when a client specifies XTYP_EXECUTE as the wType parameter of the DdeClientTransaction function. A client uses this transaction to send a command string to the server.

Parameters

wFmt

Not used.

hConv

Identifies the conversation.

hsz1

Identifies the topic name.

hsz2

Not used.

hData

Identifies the command string.

dwData1

Not used.

dwData2

Not used.

Return Value

A server 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 rejects this transaction.

Comments

This transaction is filtered if the server application specified the CBF_FAIL_EXECUTES flag in the DdeInitialize function.

An application need not free the data handle obtained during this transaction. An application must, however, copy the command string associated with the data handle if the application needs to process the string after the callback function returns. An application can use the DdeGetData function to copy the data.

See Also

DdeClientTransaction, DdeInitialize