IMiniportWaveRTStream::GetClockRegister method

The GetClockRegister method retrieves the information that the port driver requires to expose the clock register to the audio subsystem and its clients.

Syntax


NTSTATUS GetClockRegister(
  [out] KSRTAUDIO_HWREGISTER *Register
);

Parameters

Register [out]

Output pointer to a KSRTAUDIO_HWREGISTER structure that describes the register mapping.

Return value

GetClockRegister returns a status value of STATUS_SUCCESS if the call was successful. Otherwise, the method returns an appropriate error status code.

Remarks

The port driver calls this method in response to a KSPROPERTY_RTAUDIO_CLOCKREGISTER property request from a client.

A clock register is a counter that increments at the frequency of the internal hardware clock that drives the internal bus of the audio device.The register increments by one with each tick of the clock. The register begins counting when the device powers on, and it continues to run until the device powers off. The clock register is used by software to synchronize two or more devices with independent hardware clocks.

Requirements

Target platform

Universal

Version

Available in Windows Vista and later Windows operating systems.

Header

Portcls.h

IRQL

Passive level.

See also

IMiniportWaveRTStream
KSPROPERTY_RTAUDIO_CLOCKREGISTER
KSRTAUDIO_HWREGISTER

 

 

Send comments about this topic to Microsoft

Show: