Windows Dev Center

Collapse the table of content
Expand the table of content
Expand Minimize

DHCP_MIB_INFO structure

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

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Dhcpsapi.h

See also

DATE_TIME
SCOPE_MIB_INFO

 

 

Community Additions

ADD
Show:
© 2015 Microsoft