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 |
); |
If the list contains any more conversation handles, the return value is the next conversation handle in the list; otherwise, it is 0L.