XTYP_POKE

3.1

#include <ddeml.h>

XTYP_POKE
hszTopic = hsz1;     /* handle of topic-name string */
hszItem = hsz2;      /* handle of item-name string  */
hDataPoke = hData;   /* handle of data for server   */

A server's DDE callback function receives this transaction when a client specifies XTYP_POKE as the wType parameter of the DdeClientTransaction function. A client uses this transaction to send unsolicited data to the server.

Parameters

hszTopic

Value of hsz1. Identifies the topic name.

hszItem

Value of hsz2. Identifies the item name.

hDataPoke

Value of hData. Identifies the data that the client is sending to the server.

Return Value

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.

Comments

If the server application specified the CBF_FAIL_POKES flag in the DdeInitialize function, this transaction is filtered.

See Also

DdeClientTransaction, DdeInitialize