DdeQueryNextServer function

Retrieves the next conversation handle in the specified conversation list.

Syntax

HCONV DdeQueryNextServer(
  HCONVLIST hConvList,
  HCONV     hConvPrev
);

Parameters

hConvList

Type: HCONVLIST

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

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

   
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