2.2.12 W32TIME_NTPSERVER_PROVIDER_CONFIG_DATA

The W32TIME_NTPSERVER_PROVIDER_CONFIG_DATA structure contains configuration data about an NtpServer time provider.

The structure is defined to match the NtpServer time provider's configuration of the W32Time implementation as described in [WTSREF]. Fields in the structure that do not apply to other implementations SHOULD<11> have their corresponding configuration-setting type fields set to W32TIME_CONFIGURATION_SETTING_UNDEFINED.

 typedef struct {
   unsigned __int32 ulSize;
   unsigned __int32 ulAllowNonstandardModeCombinations;
   unsigned __int32 ulAllowNonstandardModeCombinationsFlag;
   unsigned __int32 ulEventLogFlags;
   unsigned __int32 ulEventLogFlagsFlag;
   unsigned __int32 cEntries;
   [size_is(cEntries)] PW32TIME_ENTRY pEntries;
 } W32TIME_NTPSERVER_PROVIDER_CONFIG_DATA,
  *PW32TIME_NTPSERVER_PROVIDER_CONFIG_DATA;

ulSize: The size, in bytes, of this structure.

ulAllowNonstandardModeCombinations: An integer that indicates whether or not nonstandard mode combinations are allowed.

Value

Meaning

0

Indicates that nonstandard mode combinations are not allowed.

1

Indicates that nonstandard mode combinations are allowed.

All other values are reserved for future use.

ulAllowNonstandardModeCombinationsFlag: An integer that indicates the source of the configuration setting for ulAllowNonstandardModeCombinations, as specified in section 2.2.6.

ulEventLogFlags: An integer that indicates the combination of flags that determines how the time provider logs events into an event log. This MUST be the following value.

Value

Meaning

NCELF_LogServerResponseError

0x00000008

Log an event when the time provider fails to validate a request for authenticated time synchronization.

All other values are reserved for future use.

ulEventLogFlagsFlag: An integer that indicates the source of the configuration setting for ulEventLogFlags, as specified in section 2.2.6.

cEntries: An integer that indicates the number of additional configuration entries in pEntries.

pEntries: A pointer to W32TIME_ENTRY structures that represent additional configuration entries.