WDF_TIMER_CONFIG_INIT function

[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.

Syntax


VOID WDF_TIMER_CONFIG_INIT(
  _In_  PWDF_TIMER_CONFIG Config,
  _In_  PFN_WDF_TIMER EvtTimerFunc
);

Parameters

Config [in]

A pointer to a WDF_TIMER_CONFIG structure.

EvtTimerFunc [in]

A pointer to a driver-supplied EvtTimerFunc callback function.

Return value

None

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.

Requirements

Minimum KMDF version

1.0

Minimum UMDF version

2.0

Header

Wdftimer.h (include Wdf.h)

Library

None

IRQL

Any level

See also

EvtTimerFunc
WDF_TIMER_CONFIG
WDF_TIMER_CONFIG_INIT_PERIODIC

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft