Skip to content

Latest commit

 

History

History
78 lines (58 loc) · 2.67 KB

nn-audioclient-iaudioclock2.md

File metadata and controls

78 lines (58 loc) · 2.67 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NN:audioclient.IAudioClock2
IAudioClock2 (audioclient.h)
The IAudioClock2 interface is used to get the current device position.
IAudioClock2
IAudioClock2 interface [Core Audio]
IAudioClock2 interface [Core Audio]
described
audioclient/IAudioClock2
coreaudio.iaudioclock2
coreaudio\iaudioclock2.htm
CoreAudio
4820c93a-a5d8-4ab9-aefc-9377fc76e745
12/05/2018
IAudioClock2, IAudioClock2 interface [Core Audio], IAudioClock2 interface [Core Audio],described, audioclient/IAudioClock2, coreaudio.iaudioclock2
audioclient.h
Windows
Windows 7 [desktop apps only]
Windows Server 2008 R2 [desktop apps only]
Windows
19H1
IAudioClock2
audioclient/IAudioClock2
c++
APIRef
kbSyntax
COM
audioclient.h
IAudioClock2

IAudioClock2 interface

-description

The IAudioClock2 interface is used to get the current device position.

To get a reference to the IAudioClock2 interface, the application must call IAudioClock::QueryInterface to request the interface pointer from the stream object's IAudioClock interface.

The client obtains a reference to the IAudioClock interface of a stream object by calling the IAudioClient::GetService method with parameter riid set to REFIID IID_IAudioClock.

When releasing an IAudioClock2 interface instance, the client must call the interface's Release method from the same thread as the call to IAudioClient::GetService that created the object.

-inheritance

The IAudioClock2 interface inherits from the IUnknown interface. IAudioClock2 also has these types of members:

-see-also

Core Audio Interfaces

IAudioClient::GetService

IAudioClock