typedef struct _DHCP_SERVER_CONFIG_INFO_VQ {
DWORD APIProtocolSupport;
LPWSTR DatabaseName;
LPWSTR DatabasePath;
DWORD BackupInterval;
DWORD BackupPath;
DWORD BackupIntervalTime;
DWORD BackupRetryInterval;
DWORD DatabaseLoggingFlag;
DWORD RestoreFlag;
DWORD DatabaseCleanupInterval;
DWORD DebugFlag;
LPWSTR PingRetries;
DWORD ActivityLog;
DHCP_SUBNET_STATE *Subnets;
DWORD SubnetCount;
DHCP_OPTION_SCOPE_INFO_ARRAY_VQ *Options;
DHCP_BOOTP_IP_RANGE_ARRAY_VQ *BootpIPRanges;
DWORD AuditLogState;
DHCP_CLASS_INFO_ARRAY_VQ *Classes;
DHCP_SUBNET_ELEMENT_INFO_ARRAY_VQ *SubnetElements;
DHCP_FORCE_FLAG ForceFlag;
DHCP_OPTIONS *ServerOptions;
DWORD MaxRecQueueSize;
DWORD MaxUnAckedQueueSize;
DWORD ScavengeServers;
DHCP_IP_ADDRESS_ARRAY *ScopesToBeCleaned;
DHCP_IP_ADDRESS_ARRAY *SuperScopeTable;
LPWSTR DatabasePathEx;
DHCP_IP_ADDRESS_ARRAY *BackupConfigInfo;
DHCP_IP_ADDRESS_ARRAY *RestoreConfigInfo;
DHCP_SERVER_BINDINGS_INFO *Bindings;
DWORD QECriticalError;
DWORD ServerTag;
DWORD fAuditLogState;
DHCP_DS_SERVER_AUTH_INFO *DnsConfig;
DHCP_SERVER_CONFIG_INFO_VQ_EX *VQ_Persistent;
DHCP_SERVER_CONFIG_INFO_VQ_EX *VQ_NonPersistent;
} DHCP_SERVER_CONFIG_INFO_VQ, *LPDHCP_SERVER_CONFIG_INFO_VQ;
这个结构包含了 DHCP 服务器的各种配置信息,比如数据库相关的配置、备份、日志等。你可以使用这个结构来查询和设置 DHCP 服务器的配置信息。
转载请注明出处:http://www.zyzy.cn/article/detail/26739/Win32 API/Dhcpsapi.h/DHCP_SERVER_CONFIG_INFO_VQ