UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:timeprov.TimeProvOpen |
TimeProvOpen function (timeprov.h) |
A callback function that is called by the time provider manager when the time provider DLL is loaded. |
|
base\timeprovopen.htm |
winprog |
cf4f8d00-4c6f-4036-a179-444ff7505ab4 |
12/05/2018 |
TimeProvOpen, TimeProvOpen callback, TimeProvOpen callback function, _win32_timeprovopen, base.timeprovopen, timeprov/TimeProvOpen |
timeprov.h |
Windows |
Windows XP [desktop apps only] |
Windows Server 2003 [desktop apps only] |
Windows |
19H1 |
|
|
|
|
|
|
A callback function that is called by the time provider manager when the time provider DLL is loaded.
The provider name.
A pointer to a TimeProvSysCallbacks structure that specifies pointers to the functions provided by the time service to the time provider. The system allocates this structure, and it is destroyed when the function returns. Therefore, you must copy the information to another buffer.
A pointer to a buffer that contains a handle to the provider. The time provider manager uses this handle to communicate with the time provider.
If the function succeeds, the return value is S_OK. Otherwise, the return value is one of the error codes defined in WinError.h.
You should return from this callback function as quickly as possible. Perform any initialization in another thread.
For an example, see Sample Time Provider.