IAudioProcessingObjectRTQueueService::GetRealTimeWorkQueue method (audioengineextensionapo.h)

Gets the ID of a work queue that the APO can use to schedule tasks that need to run at a real-time priority.

Syntax

HRESULT GetRealTimeWorkQueue(
  DWORD *workQueueId
);

Parameters

workQueueId

A DWORD containing the work queue ID.

Return value

Returns S_OK on success.

Remarks

The returned work queue ID is used with the real-time work queue APIs. For more information see rtworkq.h header.

For more information on the Windows 11 APIs for the Audio Processing Objects (APOs) that can ship with audio drivers, see Windows 11 APIs for Audio Processing Objects.

Requirements

Requirement Value
Minimum supported client Windows Build 22000
Header audioengineextensionapo.h