IMasterClock::GetTime method (dmusicks.h)

The GetTime method retrieves the current reference time read from the master clock.

Syntax

NTSTATUS GetTime(
  [out] REFERENCE_TIME *pTime
);

Parameters

[out] pTime

Output pointer for the reference time. This parameter points to a caller-allocated variable into which the method writes the reference time. Reference time is measured in 100-nanosecond units.

Return value

GetTime returns S_OK if the call was successful. Otherwise, the method returns an appropriate error code.

Requirements

Requirement Value
Target Platform Desktop
Header dmusicks.h (include Dmusicks.h)
IRQL Any level

See also

IMasterClock

IMiniportDMus::NewStream