IReferenceClock::GetTime

The GetTime method retrieves the current time.

Syntax

  
    HRESULT GetTime(
  REFERENCE_TIME * 
    pTime
);

Parameters

pTime

Address of a variable that receives the current time.

Return Values

Return values are determined by the implementation. If the method succeeds, it returns S_OK.

If it fails, the method can return one of the error values shown in the following table.

Return code
E_FAIL
E_POINTER
E_INVALIDARG
E_NOTIMPL

Requirements

**  Minimum Supported Client:** Windows 2000.
**  Minimum Supported Server:** Windows 2000 Server.

**  Header:** Dmusicc.h

See Also

© 2004 Microsoft Corporation. All rights reserved.