Microsoft DirectX 8.1 (C++)

Using DirectPlay Enumerations

Enumeration is one of the ways that Microsoft® DirectPlay® provides information to applications. Enumerations are used to collect data associated with a number of similar elements. For instance, you can use an enumeration to obtain information about each player in a session. To perform an enumeration, an application queries DirectPlay for a particular type of information, and DirectPlay returns a data structure for each related element, typically as an array of structures.

Most applications will need to perform at least one and often several enumeration operations. Each DirectPlay interface supports a different set of enumerations. Thus the details will vary from application to application. The following is a list of available enumerations, along with the interfaces that support each type of enumeration.

For more information, see Implementing a DirectPlay Enumeration.