Windows Dev Center

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

DHCP_OPTION_SCOPE_INFO structure

The DHCP_OPTION_SCOPE_INFO structure defines information about the options provided for a certain DHCP scope.

Syntax


typedef struct _DHCP_OPTION_SCOPE_INFO {
  DHCP_OPTION_SCOPE_TYPE ScopeType;
  union {
    DHCP_IP_ADDRESS     SubnetScopeInfo;
    DHCP_RESERVED_SCOPE ReservedScopeInfo;
    LPWSTR              MScopeInfo;
    PVOID               DefaultScopeInfo;
    PVOID               GlobalScopeInfo;
  } ScopeInfo;
} DHCP_OPTION_SCOPE_INFO, *LPDHCP_OPTION_SCOPE_INFO;

Members

ScopeType

DHCP_OPTION_SCOPE_TYPE enumeration value that defines the scope type of the associated DHCP options, and indicates which of the following fields in the union will be populated.

ScopeInfo
SubnetScopeInfo

DHCP_IP_ADDRESS value that contains the subnet ID as a DWORD.

ReservedScopeInfo

DHCP_RESERVED_SCOPE structure that contains a reserved IP address and its corresponding subnet ID.

MScopeInfo

Pointer to a Unicode string that contains the multicast scope name (usually represented as the IP address of the multicast router).

DefaultScopeInfo

Pointer to a DHCP_OPTION_ARRAY structure that contains the default DHCP scope options. This member is not currently used.

GlobalScopeInfo

Pointer to a DHCP_OPTION_ARRAY structure that contains the global DHCP server options.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Dhcpsapi.h

See also

DHCP_OPTION_ARRAY
DHCP_OPTION_SCOPE_TYPE
DHCP_RESERVED_SCOPE

 

 

Community Additions

ADD
Show:
© 2015 Microsoft