The IP_AUTO_DHCP_MIB_QUERY structure is used to retrieve the DNS proxy information and is passed to the following methods:
RMIBEntryGetNext (section 3.1.4.32)
typedef struct _IP_AUTO_DHCP_MIB_QUERY {
ULONG Oid;
union {
ULONG Index;
UCHAR Data;
};
ULONG Reserved;
} IP_AUTO_DHCP_MIB_QUERY,
*PIP_AUTO_DHCP_MIB_QUERY;
Oid: This MUST be set to 0x00000000.
Index: This MUST be index of the interface.
Data: This MUST be an IP_AUTO_DHCP_STATISTICS structure.
Note Index and Data are variable-sized arrays. While calculating the structure size, the size of Index or Data is added. Data is unused and has been kept for extensibility.
Reserved: MUST be set to zero (0) when sent and MUST be ignored on receipt.