DHCP_SERVER_CONFIG_INFO_V4 structure (dhcpsapi.h)
The DHCP_SERVER_CONFIG_INFO_V4 structure defines the data used to configure the DHCP server.
Syntax
typedef struct _DHCP_SERVER_CONFIG_INFO_V4 {
DWORD APIProtocolSupport;
LPWSTR DatabaseName;
LPWSTR DatabasePath;
LPWSTR BackupPath;
DWORD BackupInterval;
DWORD DatabaseLoggingFlag;
DWORD RestoreFlag;
DWORD DatabaseCleanupInterval;
DWORD DebugFlag;
DWORD dwPingRetries;
DWORD cbBootTableString;
WCHAR *wszBootTableString;
BOOL fAuditLog;
} DHCP_SERVER_CONFIG_INFO_V4, *LPDHCP_SERVER_CONFIG_INFO_V4;
Members
APIProtocolSupport
Specifies a set of bit flags that contain the RPC protocols supported by the DHCP server.
DatabaseName
Unicode string that specifies the file name of the client lease JET database.
DatabasePath
Unicode string that specifies the absolute path to DatabaseName.
BackupPath
Unicode string that specifies the absolute path and file name of the backup client lease JET database.
BackupInterval
Specifies the interval, in minutes, between backups of the client lease database.
DatabaseLoggingFlag
Specifies a bit flag that indicates whether or not database actions should be logged.
Value | Meaning |
---|---|
|
All database operations will be logged. |
RestoreFlag
Specifies a bit flag that indicates whether or not a database restore operation should be performed.
Value | Meaning |
---|---|
|
The client lease database should be restored from the path and file specified in BackupPath. |
DatabaseCleanupInterval
Specifies the interval, in minutes, between cleanup operations performed on the client lease database.
DebugFlag
Reserved. This field should be set to 0x00000000.
dwPingRetries
Specifies a value equal to or greater than 0 or less than 6 that indicates the number of times to ping an unresponsive client before determining unavailability.
cbBootTableString
Specifies the size of wszBootTableString, in bytes.
wszBootTableString
Unicode string that contains the boot table string for the DHCP server. ?? More information needed. ??
fAuditLog
Specifies whether or not to enable audit logging on the DHCP server. A value of TRUE indicates that an audit log is generated; FALSE indicates that audit logging is not performed.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | dhcpsapi.h |