<div class="content"><p>The W32TIME_NTPCLIENT_PROVIDER_CONFIG_DATA structure
contains configuration data about an NtpClient <a href="cb180d77-0c53-490e-9d37-df7576ef5465#gt_9338a1cf-ec11-4e27-a042-dda5324a44fb" data-linktype="relative-path">time provider</a>.</p><p>The structure is defined to match the NtpClient time
provider&#39;s configuration of the <a href="cb180d77-0c53-490e-9d37-df7576ef5465#gt_43e51d0a-ac6a-4662-a99a-8f3029b78caf" data-linktype="relative-path">W32Time</a> implementation.
Fields in the structure that do not apply to other implementations SHOULD<a id="Appendix_A_Target_10"></a><a aria-label="Product behavior note 10" href="bb576d39-587b-484a-86a4-e1d378cf9497#Appendix_A_10" data-linktype="relative-path">&lt;10&gt;</a> have their corresponding
configuration-setting type fields set to W32TIME_CONFIGURATION_SETTING_UNDEFINED.</p><dl>
<dd>
<div><pre> typedef struct {
   unsigned __int32 ulSize;
   unsigned __int32 ulAllowNonstandardModeCombinations;
   unsigned __int32 ulCrossSiteSyncFlags;
   unsigned __int32 ulResolvePeerBackoffMinutes;
   unsigned __int32 ulResolvePeerBackoffMaxTimes;
   unsigned __int32 ulCompatibilityFlags;
   unsigned __int32 ulEventLogFlags;
   unsigned __int32 ulLargeSampleSkew;
   unsigned __int32 ulSpecialPollInterval;
   [string, unique] wchar_t* wszType;
   [string, unique] wchar_t* wszNtpServer;
   unsigned __int32 ulAllowNonstandardModeCombinationsFlag;
   unsigned __int32 ulCrossSiteSyncFlagsFlag;
   unsigned __int32 ulResolvePeerBackoffMinutesFlag;
   unsigned __int32 ulResolvePeerBackoffMaxTimesFlag;
   unsigned __int32 ulCompatibilityFlagsFlag;
   unsigned __int32 ulEventLogFlagsFlag;
   unsigned __int32 ulLargeSampleSkewFlag;
   unsigned __int32 ulSpecialPollIntervalFlag;
   unsigned __int32 ulTypeFlag;
   unsigned __int32 ulNtpServerFlag;
   unsigned __int32 cEntries;
   [size_is(cEntries)] PW32TIME_ENTRY pEntries;
 } W32TIME_NTPCLIENT_PROVIDER_CONFIG_DATA,
  *PW32TIME_NTPCLIENT_PROVIDER_CONFIG_DATA;
</pre></div>
</dd></dl><p><b>ulSize:</b>  The size, in bytes, of this
structure.</p><p><b>ulAllowNonstandardModeCombinations:</b>  An
integer that indicates whether mode combinations that would result in an error
action as defined in <a href="https://go.microsoft.com/fwlink/?LinkId=90272" data-linktype="external">[RFC1305]</a>
Table 5 (Modes and Actions) are allowed.</p><dl>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Value</p>
   </th>
   <th>
   <p>Meaning</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>
  <p>0</p>
  </td>
  <td>
  <p>Indicates that mode combinations that would result in
  an error action are not allowed.</p>
  </td>
 </tr><tr>
  <td>
  <p>1</p>
  </td>
  <td>
  <p>Indicates that mode combinations that would result in
  an error action are allowed.</p>
  </td>
 </tr></tbody></table>
</dd>
<dd>
<p>All other values are reserved for
future use.</p>
</dd></dl><p><b>ulCrossSiteSyncFlags:</b>  The <b>CrossSiteSyncFlags</b>
element value (see section <a href="205a1925-d3e3-4912-bff8-271e7037fd75" data-linktype="relative-path">3.2.1.2.1</a>).</p><p><b>ulResolvePeerBackoffMinutes:</b>  The <b>ResolvePeerBackoffMinutes</b>
element value (see <a href="../ms-sntp/8106cb73-ab3a-4542-8bc8-784dd32031cc" data-linktype="relative-path">[MS-SNTP]</a>
section <a href="../ms-sntp/fef409e4-5297-4f18-850b-e386f7e10fea" data-linktype="relative-path">3.1.1</a>).</p><p><b>ulResolvePeerBackoffMaxTimes:</b>  The <b>ResolvePeerBackoffMaxTimes</b>
element value (see [MS-SNTP] section 3.1.1).</p><p><b>ulCompatibilityFlags:</b>  The <b>CompatibilityFlags</b>
element value (see section 3.2.1.2.1).</p><p><b>ulEventLogFlags:</b>  The <b>NTPEventLogFlags</b>
element value (see section 3.2.1.2.1).</p><p><b>ulLargeSampleSkew:</b>  The <b>LargeSampleSkew</b>
element value (see section 3.2.1.2.1).</p><p><b>ulSpecialPollInterval:</b>  An integer
that indicates a special poll interval, in seconds, for manual time
synchronization.</p><p><b>wszType:</b>  A case-insensitive,
null-terminated string that indicates the time synchronization behavior of the <a href="cb180d77-0c53-490e-9d37-df7576ef5465#gt_9846d08d-ad98-4bb9-a1e7-1f0bfbdd1113" data-linktype="relative-path">time service</a>. The string
MUST have one of the allowable values listed for the <b>TimeSourceType</b>
Abstract Data Model variable described in [MS-SNTP] section 3.1.1.</p><p><b>wszNtpServer:</b>  A case-insensitive,
null-terminated string that indicates a space-delimited list of <a href="cb180d77-0c53-490e-9d37-df7576ef5465#gt_76c8df1b-52ef-495d-97d9-7c032b1f6ca5" data-linktype="relative-path">time sources</a> that the time
service can synchronize with. Each time source MUST be in the following form.</p><dl>
<dd>
<dl>
<dd>
<div><pre> &lt;Time Source&gt;[,&lt;Bitwise Flag&gt;]
</pre></div>
</dd></dl></dd>
<dd>
<p>The &#34;Time Source&#34; MUST
be in the form of a <a href="cb180d77-0c53-490e-9d37-df7576ef5465#gt_1769aec9-237e-44ed-9014-1abb3ec6de6e" data-linktype="relative-path">fully
qualified domain name (FQDN)</a> or an IP address.</p>
</dd>
<dd>
<p>The &#34;Bitwise Flag&#34;, if
included, MUST be a bitwise OR of zero or more of the following flags.</p>
</dd>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Value</p>
   </th>
   <th>
   <p>Meaning</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>
  <p>SpecialInterval</p>
  <p>0x01</p>
  </td>
  <td>
  <p>The time service uses the polling interval for this
  time source, as defined by the value of the <b>ulSpecialPollInterval</b>
  member.</p>
  </td>
 </tr><tr>
  <td>
  <p>UseAsFallbackOnly</p>
  <p>0x02</p>
  </td>
  <td>
  <p>The time service uses this time source only when all
  other time sources have failed.</p>
  </td>
 </tr><tr>
  <td>
  <p>SymmetricActive</p>
  <p>0x04</p>
  </td>
  <td>
  <p>The time service uses the symmetric active mode when
  communicating with this time source.</p>
  </td>
 </tr><tr>
  <td>
  <p>Client</p>
  <p>0x08</p>
  </td>
  <td>
  <p>The time service uses the client mode when
  communicating with this time source.</p>
  </td>
 </tr></tbody></table>
</dd>
<dd>
<p>Multiple time sources are
delineated by a space. For two time sources, the following form would be used.</p>
<dl>
<dd>
<div><pre> &lt;Time Source #1&gt;,&lt;Bitwise Flags #1&gt; &lt;Time Source #2&gt;,&lt;Bitwise Flags #2&gt;
</pre></div>
</dd></dl></dd>
<dd>
<p><b>Note</b>  &#34;Bitwise
Flags #1&#34; is applied to &#34;Time Source #1&#34;, and &#34;Bitwise
Flags #2&#34; is applied to &#34;Time Source #2&#34;. Each time source
listed MUST be unique. There are no uniqueness constraints on how many times a given
&#34;Bitwise Flag&#34; can appear in a list of time sources.</p>
</dd></dl><p><b>ulAllowNonstandardModeCombinationsFlag:</b>  An
integer that indicates the source of the configuration setting for <b>ulAllowNonstandardModeCombinations</b>,
as specified in section <a href="cda8dd8e-ef99-4b2d-b747-6077e5d5ddf2" data-linktype="relative-path">2.2.6</a>.</p><p><b>ulCrossSiteSyncFlagsFlag:</b>  An
integer that indicates the source of the configuration setting for <b>ulCrossSiteSyncFlags</b>,
as specified in section 2.2.6.</p><p><b>ulResolvePeerBackoffMinutesFlag:</b>  An
integer that indicates the source of the configuration setting for <b>ulResolvePeerBackoffMinutes</b>,
as specified in section 2.2.6.</p><p><b>ulResolvePeerBackoffMaxTimesFlag:</b>  An
integer that indicates the source of the configuration setting for <b>ulResolvePeerBackoffMaxTimes</b>,
as specified in section 2.2.6.</p><p><b>ulCompatibilityFlagsFlag:</b>  An integer
that indicates the source of the configuration setting for <b>ulCompatibilityFlags</b>,
as specified in section 2.2.6.</p><p><b>ulEventLogFlagsFlag:</b>  An integer
that indicates the source of the configuration setting for <b>ulEventLogFlags</b>,
as specified in section 2.2.6.</p><p><b>ulLargeSampleSkewFlag:</b>  An integer
that indicates the source of the configuration setting for <b>ulLargeSampleSkew</b>,
as specified in section 2.2.6.</p><p><b>ulSpecialPollIntervalFlag:</b>  An
integer that indicates the source of the configuration setting for <b>ulSpecialPollInterval</b>,
as specified in section 2.2.6.</p><p><b>ulTypeFlag:</b>  An integer that
indicates the source of the configuration setting for <b>wszType</b>, as
specified in section 2.2.6.</p><p><b>ulNtpServerFlag:</b>  An integer that
indicates the source of the configuration setting for <b>wszNtpServer</b>, as
specified in section 2.2.6.</p><p><b>cEntries:</b>  An integer that indicates
the number of additional configuration entries in <b>pEntries</b>.</p><p><b>pEntries:</b>  A pointer to <a href="c25e944e-fec0-44a5-9414-b7cf63c2f44a" data-linktype="relative-path">W32TIME_ENTRY</a> structures
that represent additional configuration entries.</p></div>