// ks.h
KSDDKAPI NTSTATUS KsCreateClock(
[in] HANDLE ConnectionHandle,
[in] PKSCLOCK_CREATE ClockCreate,
[out] PHANDLE ClockHandle
);
View the official Windows Driver Kit DDI referenceNo description available.
The KsCreateClock function creates a handle to a clock instance.
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.
The KsCreateClock function returns STATUS_SUCCESS if successful, or it returns an error on clock creation failure.