RxCancelTimerRequest routine

RxCancelTimerRequest cancels a recurrent timer request. The request to be canceled is identified by the worker thread routine and associated context.

Syntax


NTSTATUS RxCancelTimerRequest(
  _In_ PRDBSS_DEVICE_OBJECT     pDeviceObject,
  _In_ PRX_WORKERTHREAD_ROUTINE Routine,
  _In_ PVOID                    pContext
);

Parameters

pDeviceObject [in]

A pointer to the device object that initialized the timer. This parameter was passed to the RxPostRecurrentTimerRequest routine when this recurrent timer was initialized.

Routine [in]

A pointer to the worker thread routine to call when this timer expires. This parameter was passed to the RxPostRecurrentTimerRequest routine when this recurrent timer was initialized.

pContext [in]

A pointer to the context parameter that was passed to the RxPostRecurrentTimerRequest routine when this timer was initialized.

Return value

RxCancelTimerRequest returns STATUS_SUCCESS on success.

Remarks

A recurrent timer is initialized by calling RxPostRecurrentTimerRequest.

If the recurrent timer is not found, this routine will return STATUS_NOT_FOUND.

Requirements

Target platform

Desktop

Header

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

IRQL

<= APC_LEVEL

See also

RxPostOneShotTimerRequest
RxPostRecurrentTimerRequest

 

 

Send comments about this topic to Microsoft

Show: