PFNKSCANCELTIMER - NtDoc

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

PFNKSCANCELTIMER Pfnkscanceltimer;

BOOLEAN Pfnkscanceltimer(
  [in] PVOID Context,
  [in] PKTIMER Timer
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-ks-pfnkscanceltimer)

PFNKSCANCELTIMER callback function

Description

A streaming minidriver's KStrCancelTimer routine is called to cancel a custom timer object that was previously specified in the SetTimer parameter in a call to KsAllocateDefaultClockEx.

Parameters

Context [in]

Pointer to the minidriver-supplied information context. The minidriver passes the information context to KsAllocateDefaultClockEx in the function's DeferredContext parameter when the minidriver allocates a custom DPC timer object.

Timer [in]

Pointer to the minidriver's custom timer object to cancel.

Return value

Returns TRUE if the specified timer object is in the system timer queue, or FALSE otherwise.

Remarks

Minidrivers can optionally supply a KStrCancelTimer callback function as a parameter to KsAllocateDefaultClockEx.

The minidriver-supplied KStrCancelTimer must have the same characteristics as KeCancelTimer.

If a minidriver supplies a KStrCancelTimer callback function, the minidriver must also supply a KStrSetTimer callback function.

See also

KStrSetTimer

KeCancelTimer

KsAllocateDefaultClockEx