Description:
Next_Chain_Element provides a standard mechanism for returning the address of specified data elements within the chain.
#include <os2.h> PDSPINSTL_CHAIN next_element_ptr; USHORT position_flag; PDSPINSTL_CHAIN existing_element_ptr; ULONG rc; /* Return codes. */ rc = Next_Chain_Element(next_element_ptr, position_flag, existing_element_ptr);