IMasterClock::GetTime method

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

Syntax


NTSTATUS GetTime(
  [out]  REFERENCE_TIME *prtTime
);

Parameters

prtTime [out]

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.

Remarks

Requirements

Header

Dmusicks.h (include Dmusicks.h)

IRQL

Any level

See also

IMiniportDMus::NewStream

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft