DdeDisconnectList function (ddeml.h)

Destroys the specified conversation list and terminates all conversations associated with the list.

Syntax

BOOL DdeDisconnectList(
  [in] HCONVLIST hConvList
);

Parameters

[in] hConvList

Type: HCONVLIST

A handle to the conversation list. This handle must have been created by a previous call to the DdeConnectList function.

Return value

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

An application can use the DdeDisconnect function to terminate individual conversations in the list.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header ddeml.h (include Windows.h)
Library User32.lib
DLL User32.dll

See also

Conceptual

DdeConnect

DdeConnectList

DdeDisconnect

Dynamic Data Exchange Management Library

Reference