The DdeQueryNextServer function obtains the next conversation handle in the specified conversation list.
HCONV DdeQueryNextServer(
HCONVLIST hConvList, | // handle to conversation list |
HCONV hConvPrev | // previous conversation handle |
); |
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 0L, the function returns the first conversation handle in the list.
Return Values
If the list contains any more conversation handles, the return value is the next conversation handle in the list; otherwise, it is 0L.
See Also