DDETerminate (nChannelNumber, cServiceName)
This function closes a dynamic data exchange (DDE) channel established with DDEInitiate.
nChannelNumber - Specifies the channel number to close.
cServiceName - Specifies the service name to close.