WDF_TIMER_CONFIG_INIT - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdftimer.h

VOID WDF_TIMER_CONFIG_INIT(
  [in] PWDF_TIMER_CONFIG Config,
  [in] PFN_WDF_TIMER     EvtTimerFunc
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdftimer-wdf_timer_config_init)

WDF_TIMER_CONFIG_INIT function

Description

[Applies to KMDF and UMDF]

The WDF_TIMER_CONFIG_INIT function initializes a WDF_TIMER_CONFIG structure for a timer that will use a single due time.

Parameters

Config [in]

A pointer to a WDF_TIMER_CONFIG structure.

EvtTimerFunc [in]

A pointer to a driver-supplied EvtTimerFunc callback function.

Remarks

The WDF_TIMER_CONFIG_INIT function zeros the specified WDF_TIMER_CONFIG structure. Then it sets the structure's Size member, stores the EvtTimerFunc pointer, sets the Period member and the TolerableDelay member to zero, and sets the AutomaticSerialization member to TRUE.

Examples

For a code example that uses WDF_TIMER_CONFIG_INIT, see WdfTimerCreate.

See also

EvtTimerFunc

WDF_TIMER_CONFIG

WDF_TIMER_CONFIG_INIT_PERIODIC