The DNS_RPC_ZONE_LIST_W2K structure is used to enumerate zones.
typedef struct _DnssrvRpcZoneListW2K {
[range(0,500000)] DWORD dwZoneCount;
[size_is(dwZoneCount)] PDNS_RPC_ZONE_W2K ZoneArray[];
} DNS_RPC_ZONE_LIST_W2K,
*PDNS_RPC_ZONE_LIST_W2K;
dwZoneCount: The number of zones present in the array of zones pointed to by ZoneArray.
ZoneArray: An array of structures of type DNS_RPC_ZONE_W2K (section 2.2.5.2.1.1). Each element of the array represents one zone.