PGET_WALL_CLOCK_REGISTER callback function (hdaudio.h)
The GetWallClockRegister
routine retrieves a pointer to the wall clock register.
The function pointer type for a GetWallClockRegister
routine is defined as follows.
Syntax
PGET_WALL_CLOCK_REGISTER PgetWallClockRegister;
void PgetWallClockRegister(
[in] PVOID _context,
[out] PULONG *Wallclock
)
{...}
Parameters
[in] _context
Specifies the context value from the Context member of the HDAUDIO_BUS_INTERFACE, HDAUDIO_BUS_INTERFACE_V2, or HDAUDIO_BUS_INTERFACE_BDL structure.
[out] Wallclock
Retrieves a pointer to the wall clock register. This parameter points to a caller-allocated PULONG variable into which the routine writes a pointer to the register. The HD Audio bus driver maps the register to a system virtual address that is accessible to the function driver.
Return value
None
Remarks
For more information, see Wall Clock and Link Position Registers.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | hdaudio.h (include Hdaudio.h) |
IRQL | <=DISPATCH_LEVEL |