Terminates a conversation with a DDE server application.
[ lStatus = ] DdeTerminate ( hConv )
The DdeTerminate procedure syntax has the following parts:
|
Name |
Type |
Description |
|
lStatus |
Long |
Status |
|
hConv |
Val AHandle |
OLE_Handle of the DDE conversation |
Returns TRUE for success and FALSE for failure. The function invalidates the DDE conversation handle hConv. Further conversations to the same application can be started only after the DdeInitiate function is reissued.
ATEasy automatically terminates all conversations upon exiting or if Reset is selected from the Run menu.
The hConv parameter is a DDEML.DLL handle that is returned by the DdeInitiate function.
if DdeTerminate(hConv) = FALSE Then
Abort
Endif