KsFreeDefaultClock function

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


VOID KsFreeDefaultClock(
  _In_ PKSDEFAULTCLOCK DefaultClock
);

Parameters

DefaultClock [in]

Specifies the previously allocated structure to free.

Return value

None

Requirements

Target platform

Universal

Header

Ks.h (include Ks.h)

Library

Ks.lib

 

 

Send comments about this topic to Microsoft

Show: