2.2.9 W32TIME_PROVIDER_CONFIG

The W32TIME_PROVIDER_CONFIG structure defines configuration data for a selected time provider.

 typedef struct {
   unsigned __int32 ulSize;
   unsigned __int32 ulProviderType;
   [switch_is(ulProviderType)] PW32TIME_PROVIDER_CONFIG_DATA pProviderConfigData;
 } W32TIME_PROVIDER_CONFIG,
  *PW32TIME_PROVIDER_CONFIG;

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

ulProviderType: The type of time provider, which MUST be one of the following values.

Value

Meaning

W32TIME_NTPCLIENT_PROVIDER_CONFIG_DATA

  0x00000000

NtpClient NTP time provider

W32TIME_NTPSERVER_PROVIDER_CONFIG_DATA

  0x00000001

NtpServer NTP time provider

All other values are reserved for future use.

pProviderConfigData: A W32TIME_PROVIDER_CONFIG_DATA union that contains configuration data about the time provider.