Skip to content

Latest commit

 

History

History
103 lines (68 loc) · 3.08 KB

nf-ddeml-ddedisconnect.md

File metadata and controls

103 lines (68 loc) · 3.08 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:ddeml.DdeDisconnect
DdeDisconnect function (ddeml.h)
Terminates a conversation started by either the DdeConnect or DdeConnectList function and invalidates the specified conversation handle.
DdeDisconnect
DdeDisconnect function [Data Exchange]
_win32_DdeDisconnect
_win32_ddedisconnect_cpp
dataxchg.ddedisconnect
ddeml/DdeDisconnect
winui._win32_ddedisconnect
dataxchg\ddedisconnect.htm
dataxchg
VS|winui|~\winui\windowsuserinterface\dataexchange\dynamicdataexchangemanagementlibrary\dynamicdataexchangemanagementreference\dynamicdataexchangemanagementfunctions\ddedisconnect.htm
12/05/2018
DdeDisconnect, DdeDisconnect function [Data Exchange], _win32_DdeDisconnect, _win32_ddedisconnect_cpp, dataxchg.ddedisconnect, ddeml/DdeDisconnect, winui._win32_ddedisconnect
ddeml.h
Windows.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
User32.lib
User32.dll
Windows
19H1
DdeDisconnect
ddeml/DdeDisconnect
c++
APIRef
kbSyntax
DllExport
User32.dll
DdeDisconnect

DdeDisconnect function

-description

Terminates a conversation started by either the DdeConnect or DdeConnectList function and invalidates the specified conversation handle.

-parameters

-param hConv [in]

Type: HCONV

A handle to the active conversation to be terminated.

-returns

Type: BOOL

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 can be one of the following values:

-remarks

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.

-see-also

Conceptual

DdeConnect

DdeConnectList

DdeDisconnectList

Dynamic Data Exchange Management Library

Reference

XTYP_DISCONNECT