DdeQueryNextServer function (ddeml.h)

Retrieves the next conversation handle in the specified conversation list.

Syntax

HCONV DdeQueryNextServer(
  [in] HCONVLIST hConvList,
  [in] HCONV     hConvPrev
);

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.

[in] hConvPrev

Type: HCONV

A handle to the conversation handle previously returned by this function. If this parameter is 0L, the function returns the first conversation handle in the list.

Return value

Type: HCONV

If the list contains any more conversation handles, the return value is the next conversation handle in the list; otherwise, it is 0L.

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

DdeConnectList

DdeDisconnectList

Dynamic Data Exchange Management Library

Reference