The DdeDisconnect function terminates a conversation started by either the DdeConnect or DdeConnectList function and invalidates the specified conversation handle.
BOOL DdeDisconnect(
HCONV hConv |
// handle to conversation |
); |
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
The DdeGetLastError function can be used to get the error code, which may be one of the following values:
DMLERR_DLL_NOT_INITIALIZED
DMLERR_NO_CONV_ESTABLISHED
DMLERR_NO_ERROR
Any incomplete transactions started before calling DdeDisconnect are immediately abandoned. The XTYP_DISCONNECT transaction is sent to the dynamic data exchange (DDE) callback function of the partner in the conversation. Generally, only client applications must terminate conversations.
DdeConnect, DdeConnectList, DdeDisconnectList, XTYP_DISCONNECT
file: /Techref/os/win/api/win32/func/src/f13_11.htm, 2KB, , updated: 2000/4/7 11:19, local time: 2024/11/27 21:38,
3.145.47.193:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.org/Techref/os/win/api/win32/func/src/f13_11.htm"> DdeDisconnect</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to massmind.org! |
.