Bewerken

Delen via


IMiniportAudioEngineNode::GetEngineFormatSize method (portcls.h)

Gets the format type and the buffer size for the audio engine's audio data format.

Syntax

NTSTATUS GetEngineFormatSize(
  [in]  ULONG             ulNodeId,
  [in]  eEngineFormatType formatType,
  [out] ULONG             *pulFormatSize
);

Parameters

[in] ulNodeId

The ID of the audio engine node.

[in] formatType

An enum of type eEngineFormatType that represents the audio data format type.

[out] pulFormatSize

The data buffer size for the format type.

Return value

GetEngineFormatSize returns S_OK, if the call was successful. Otherwise, the method returns an appropriate error code.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Universal
Header portcls.h

See also

IMiniportAudioEngineNode

eEngineFormatType