KsFreeDefaultClock function (ks.h)

The KsFreeDefaultClock function frees a default clock structure previously allocated with KsAllocateDefaultClock, taking into account any currently running timer DPCs. This assumes that all instances of the clock have been closed. This may actually just decrement the internal reference counter and allow a pending DPC to free the structure asynchronously.

This may only be called at PASSIVE_LEVEL.

Syntax

KSDDKAPI VOID KsFreeDefaultClock(
  [in] PKSDEFAULTCLOCK DefaultClock
);

Parameters

[in] DefaultClock

Specifies the previously allocated structure to free.

Return value

None

Requirements

Requirement Value
Target Platform Universal
Header ks.h (include Ks.h)
Library Ks.lib