Terminate access to the remote application.
procedure DDEDisconnect (out tErrCode, inout tServ)
|tErrCode||longint, an error code|
|tServ||longint, connection handle|
DDEDisconnect terminates the access to the remote application.
The filename is ddedisc.pgm.
For example, given that DDE_Err and hServ are of type longint and that hServ has been set by a previous call to DDEConnect, enter the following to terminate a DDE conversation:
DDEDisconnect (DDE_Err, hServ)
This example ends a conversation previously established using the CONNECT service.