Export (0) Print
Expand All
Expand Minimize

RxPostRecurrentTimerRequest routine

RxPostRecurrentTimerRequest initializes a recurrent timer request. The passed in pointer to a worker thread routine is called at regular intervals when the recurrent timer fires based on the input parameters to this routine.

Syntax


NTSTATUS RxPostRecurrentTimerRequest(
  _In_  PRDBSS_DEVICE_OBJECT pDeviceObject,
  _In_  PRX_WORKERTHREAD_ROUTINE Routine,
  _In_  PVOID pContext,
  _In_  LARGE_INTEGER TimeInterval
);

Parameters

pDeviceObject [in]

A pointer to the device object to be associated with this timer.

Routine [in]

A pointer to the worker thread routine to call when this timer expires.

pContext [in]

A pointer to the context parameter to be associated with this timer.

TimeInterval [in]

The time interval, in 100-nanosecond ticks.

Return value

RxPostRecurrentTimerRequest returns STATUS_SUCCESS on success or one of the following error codes:

Return codeDescription
STATUS_INSUFFICIENT_RESOURCES

The allocation of non-paged pool memory required by this routine failed.

 

Remarks

A recurrent timer can be canceled by calling RxCancelTimerRequest.

Requirements

Header

Rxtimer.h (include Rxtimer.h or Rxworkq.h)

IRQL

<= APC_LEVEL

See also

RxCancelTimerRequest
RxPostOneShotTimerRequest

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft