// ks.h
PFNKSCANCELTIMER Pfnkscanceltimer;
BOOLEAN Pfnkscanceltimer(
[in] PVOID Context,
[in] PKTIMER Timer
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
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.
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.
Returns TRUE if the specified timer object is in the system timer queue, or FALSE otherwise.
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.