次の方法で共有


IReferenceClock Interface

Warning: This technology is deprecated as is all of DirectMusic. Deprecated components are considered obsolete. While these components are still supported, they may be removed in the future. When writing new applications, you should avoid using these deprecated components. When modifying existing applications, you are strongly encouraged to remove any dependency on these components.
Deprecated.

The IReferenceClock interface represents a system reference clock. The DirectMusic master clock and a port's latency clock implement this interface.

In addition to the methods inherited from IUnknown, the IReferenceClock interface exposes the following methods.

Method Description
GetTime Retrieves the current time.
AdviseTime Requests an asynchronous notification that a time has elapsed.
AdvisePeriodic Requests an asynchronous, periodic notification that a duration has elapsed.
Unadvise Cancels a request for notification.

Requirements

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

**  Header:** Dmusicc.h

See Also

© 2004 Microsoft Corporation. All rights reserved.