DdeQueryNextServer

  HCONV DdeQueryNextServer(hConvList, hConvPrev)    
  HCONVLIST hConvList; /* handle of conversation list */
  HCONV hConvPrev; /* previous conversation handle */

The DdeQueryNextServer function obtains the next conversation handle in the given conversation list.

Parameters

hConvList

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

hConvPrev

Identifies the conversation handle previously returned by this function. If this parameter is NULL, this function returns the first conversation handle in the list.

Return Value

The return value is the next conversation handle in the list if the list contains any more conversation handles. Otherwise, it is NULL.

See Also

DdeConnectList, DdeDisconnectList