Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Registering a Time Provider

Registering a Time Provider

The system loads a time provider based on its configuration information stored in the registry. Each time provider should create the following registry key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W32Time\TimeProviders\ProviderName

The following table describes the values that must exist in each provider's key.

ValueDescription
DllNameThe name of the DLL that contains the provider. This value has the type REG_SZ.
EnabledIndicates whether the provider should be started. If this value is 1, the provider is started. Otherwise, the provider is not started. This value has the type REG_DWORD.
InputProviderIndicates whether the provider is an input provider or an output provider. If this value is 1, the provider is an input provider. Otherwise, the provider is an output provider. This value has the type REG_DWORD.

 

The time provider manager enumerates the keys under the TimeProviders key and starts each enabled provider. Providers are started at system startup and whenever there are parameter changes.

Each time provider can also store application-specific configuration information in the registry.

 

 

Community Additions

ADD
Show:
© 2015 Microsoft