<div class="content"><p>The W32TIME_NTP_PEER_INFO structure defines the current
state of a <a href="cb180d77-0c53-490e-9d37-df7576ef5465#gt_684a23b5-7485-4418-a83c-b843541673ac" data-linktype="relative-path">time peer</a> for
an NTP <a href="cb180d77-0c53-490e-9d37-df7576ef5465#gt_9338a1cf-ec11-4e27-a042-dda5324a44fb" data-linktype="relative-path">time provider</a>.</p><dl>
<dd>
<div><pre> typedef struct {
   unsigned __int32 ulSize;
   unsigned __int32 ulResolveAttempts;
   unsigned __int64 u64TimeRemaining;
   unsigned __int64 u64LastSuccessfulSync;
   unsigned __int32 ulLastSyncError;
   unsigned __int32 ulLastSyncErrorMsgId;
   unsigned __int32 ulValidDataCounter;
   unsigned __int32 ulAuthTypeMsgId;
   [string, unique] wchar_t* wszUniqueName;
   unsigned char ulMode;
   unsigned char ulStratum;
   unsigned char ulReachability;
   unsigned char ulPeerPollInterval;
   unsigned char ulHostPollInterval;
 } W32TIME_NTP_PEER_INFO,
  *PW32TIME_NTP_PEER_INFO;
</pre></div>
</dd></dl><p><b>ulSize:</b>  The size, in bytes, of this
structure.<a id="Appendix_A_Target_8"></a><a aria-label="Product behavior note 8" href="bb576d39-587b-484a-86a4-e1d378cf9497#Appendix_A_8" data-linktype="relative-path">&lt;8&gt;</a></p><p><b>ulResolveAttempts:</b>  The <b>ResolvedAttempts</b>
element value (see section <a href="28e3c644-cb9d-4925-8c80-288f6339d9e0" data-linktype="relative-path">3.2.1.3</a>).</p><p><b>u64TimeRemaining:</b>  The <b>TimeRemaining</b>
element value (see section 3.2.1.3).</p><p><b>u64LastSuccessfulSync:</b>  The <b>LastSuccessfulSync</b>
element value (see section 3.2.1.3).</p><p><b>ulLastSyncError:</b>  The <b>LastSyncError</b>
element value (see section 3.2.1.3).</p><p><b>ulLastSyncErrorMsgId:</b>  The <b>LastSyncErrorMessageId</b>
element value (see section 3.2.1.3).</p><p><b>ulValidDataCounter:</b>  The <b>ValidDataCounter</b>
element value (see section 3.2.1.3).</p><p><b>ulAuthTypeMsgId:</b>  The <b>AuthenticationTypeMessageId</b>
element value (see section 3.2.1.3).</p><p><b>wszUniqueName:</b>  The <b>PeerName</b>
element value (see section 3.2.1.3).</p><p><b>ulMode:</b>  This time peer&#39;s current
NTP association mode, as specified in <a href="https://go.microsoft.com/fwlink/?LinkId=90272" data-linktype="external">[RFC1305]</a> section
3.2.1, &#34;Common Variables&#34;.</p><p><b>ulStratum:</b>  This time peer&#39;s stratum
level, which indicates the distance between this time peer and a reference
source. This value is compared with other peers&#39; stratum levels to ensure that
a machine closer to a reference source is not synchronized to a machine that is
farther away, as specified in [RFC1305] section 2.2, &#34;Network
Configurations&#34;.</p><p><b>ulReachability:</b>  An 8-bit shift
register that contains this time peer&#39;s reachability, as specified in [RFC1305]
section 3.2.3, &#34;Peer Variables&#34;.</p><p><b>ulPeerPollInterval:</b>  This time
peer&#39;s poll interval, expressed as specified in [RFC1305], using units of
seconds given as exponents to a power of two. For example, a value of six
indicates a minimum interval of 64 seconds.</p><p><b>ulHostPollInterval:</b>  The interval at
which the NTP service provider is polling this time peer, expressed as
specified in [RFC1305], using units of seconds given as exponents to a power of
two. For example, a value of six indicates a minimum interval of 64 seconds.</p></div>