DHCP_MIB_INFO structure (dhcpsapi.h)
The DHCP_MIB_INFO structure defines information returned from the DHCP-specific SNMP Management Information Block (MIB) about the current DHCP service.
Syntax
typedef struct _DHCP_MIB_INFO {
DWORD Discovers;
DWORD Offers;
DWORD Requests;
DWORD Acks;
DWORD Naks;
DWORD Declines;
DWORD Releases;
DATE_TIME ServerStartTime;
DWORD Scopes;
LPSCOPE_MIB_INFO ScopeInfo;
} DHCP_MIB_INFO, *LPDHCP_MIB_INFO;
Members
Discovers
Contains the number of DHCP discovery messages received.
Offers
Contains the number of DHCP service offer messages transmitted.
Requests
Contains the number of dynamic address request messages received.
Acks
Contains the number of DHCP ACK messages received.
Naks
Contains the number of DHCP NACK messages received.
Declines
Contains the number of dynamic address service decline messages received.
Releases
Contains the number of dynamic address release messages received.
ServerStartTime
DATE_TIME structure that contains the date and time the DHCP service started.
Scopes
Contains the number of scopes defined on the DHCP server.
ScopeInfo
Array of SCOPE_MIB_INFO structures that contain information on each subnet defined on the server. There are exactly Scopes elements in this array. If no subnets are defined (Scopes is 0), this field will be NULL.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Header | dhcpsapi.h |