Programming Guide



sm_dde_poke

Pokes data into a DDE server

#include <smmwuser.h>
int sm_dde_poke(char *server, char *topic, char *item, char *data);

server
The server application's name—for example, WINWORD

topic
The server topic, typically the file name of the spreadsheet or document—for example, SALES.DOC

item
The server item—for example, DDE_LINK1

data
The data to send to the server.

Environment

Windows

Returns

Description

sm_dde_poke sends unsolicited data from a Panther client to a server application. The server decides whether to accept or reject this data. A connection to the server must already exist; however, a link to the specified topic and item is not required.

See Also

sm_dde_execute