Microsoft DirectX 8.1 (C++)

CGenericList::GetNext

The GetNext method retrieves the item at the specified position, and advances the position.

Syntax

OBJECT *GetNext(
    POSITION& rp
);

Parameters

rp

Reference to a POSITION value.

Return Value

Returns a pointer to an object of type OBJECT (the template type).

Remarks

This method advances the position indicator to the next position. If the position indicator moves past the end of the list, the method sets it to NULL.

If rp is NULL, the method returns NULL.

See Also