2.2.8 W32TIME_CONFIGURATION_PROVIDER

The W32TIME_CONFIGURATION_PROVIDER structure defines the configuration data of an NTP time provider.

 typedef struct {
   unsigned __int32 ulSize;
   unsigned __int32 ulInputProvider;
   unsigned __int32 ulEnabled;
   [string, unique] wchar_t* wszDllName;
   [string, unique] wchar_t* wszProviderName;
   unsigned __int32 ulDllNameFlag;
   unsigned __int32 ulProviderNameFlag;
   unsigned __int32 ulInputProviderFlag;
   unsigned __int32 ulEnabledFlag;
   PW32TIME_PROVIDER_CONFIG pProviderConfig;
 } W32TIME_CONFIGURATION_PROVIDER,
  *PW32TIME_CONFIGURATION_PROVIDER;

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

ulInputProvider: An integer that indicates whether the provider is capable of retrieving time samples.

Value

Meaning

0

Indicates that the provider is not capable of retrieving time samples.

1

Indicates that the provider is capable of retrieving time samples.

All other values are reserved for future use.

ulEnabled: An integer that indicates whether or not the provider is enabled.

Value

Meaning

0

Indicates that the provider is disabled.

1

Indicates that the provider is enabled.

All other values are reserved for future use.

wszDllName: The ProviderDllName element value (see section 3.2.1.2).

wszProviderName: The ProviderName element value (see section 3.2.1.2)

ulDllNameFlag: An integer indicating the source of the configuration setting for wszDllName, as specified in section 2.2.6.

ulProviderNameFlag: An integer indicating the source of the configuration setting for wszProviderName, as specified in section 2.2.6.

ulInputProviderFlag: An integer indicating the source of the configuration setting for ulInputProvider, as specified in section 2.2.6.

ulEnabledFlag: An integer indicating the source of the configuration setting for ulEnabled, as specified in section 2.2.6.

pProviderConfig: A pointer to the W32TIME_PROVIDER_CONFIG structure.