The IReferenceClock::GetTime method retrieves the current time.
HRESULT GetTime(
  REFERENCE_TIME * pTime
);
 Return values are determined by the implementation. If the method succeeds, it returns S_OK. If it fails, it may return one of the following error values:
| E_FAIL | 
| E_POINTER | 
| E_INVALIDARG | 
| E_NOTIMPL | 
  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in dmusicc.h.