Programming Guide |
Destroys a DDE link to a server
#include <smmwuser.h>int sm_dde_client_disconnect(char *server, char *topic, char *item, char *field);
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
field
- The name of a widget on the active screen.
Windows
- 1 Success.
sm_dde_client_disconnect
destroys a client DDE link on the active screen. If the link specified is the last link to a server application, Panther also closes the connection to that server.Note: When a screen closes, Panther automatically destroys its DDE links.