DHCP_OPTION_SCOPE_INFO structure (dhcpsapi.h)

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;
#if ...
  union {
    DHCP_IP_ADDRESS     SubnetScopeInfo;
    DHCP_RESERVED_SCOPE ReservedScopeInfo;
    LPWSTR              MScopeInfo;
  } ScopeInfo;
#if ...
  _DHCP_OPTION_SCOPE_UNION _DHCP_OPTION_SCOPE_UNION;
#else
  union {
    PVOID               DefaultScopeInfo;
    PVOID               GlobalScopeInfo;
    DHCP_IP_ADDRESS     SubnetScopeInfo;
    DHCP_RESERVED_SCOPE ReservedScopeInfo;
    LPWSTR              MScopeInfo;
  } ScopeInfo;
#endif
#else
  _DHCP_OPTION_SCOPE_UNION _DHCP_OPTION_SCOPE_UNION;
#endif
} 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

ScopeInfo.#3470629252.SubnetScopeInfo

ScopeInfo.#3470629252.ReservedScopeInfo

ScopeInfo.#3470629252.MScopeInfo

_DHCP_OPTION_SCOPE_UNION

ScopeInfo.#150447810.DefaultScopeInfo

ScopeInfo.#150447810.GlobalScopeInfo

ScopeInfo.#150447810.SubnetScopeInfo

ScopeInfo.#150447810.ReservedScopeInfo

ScopeInfo.#150447810.MScopeInfo

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