KsCreateClock - NtDoc

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

KSDDKAPI NTSTATUS KsCreateClock(
  [in]  HANDLE          ConnectionHandle,
  [in]  PKSCLOCK_CREATE ClockCreate,
  [out] PHANDLE         ClockHandle
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ks-kscreateclock)

KsCreateClock function

Description

The KsCreateClock function creates a handle to a clock instance.

Parameters

ConnectionHandle [in]

Specifies the handle to the connection on which to create the clock.

ClockCreate [in]

Specifies clock create parameters. This currently consists of a flag that must be set to zero.

ClockHandle [out]

Specifies the new clock handle.

Return value

The KsCreateClock function returns STATUS_SUCCESS if successful, or it returns an error on clock creation failure.