2.2.3.5 ENUM_LIST

The ENUM_LIST structure is a container for a list of ENUM_ENTRY (section 2.2.3.4) structures. An ENUM_LIST encapsulates the results of a query that is performed on the cluster state. The semantics of the collection of named cluster objects depends on the query that is performed. For example, the ApiCreateEnum (section 3.1.4.2.8) method can be used to query a list of nodes in the cluster or a list of resources in the cluster. The result of either query is returned to the client as an ENUM_LIST.

 typedef struct _ENUM_LIST {
   DWORD EntryCount;
   [size_is(EntryCount)] ENUM_ENTRY Entry[*];
 } ENUM_LIST,
  *PENUM_LIST;

EntryCount: An unsigned 32-bit integer. The number of elements in the field Entry.

Entry: An array of ENUM_ENTRY structures that represents the contents of the list.