IMiniportWaveRTStream::FreeAudioBuffer method (portcls.h)

The FreeAudioBuffer method is used to free an audio buffer previously allocated with a call to IMiniportWaveRTStream::AllocateAudioBuffer.

Syntax

void FreeAudioBuffer(
  PMDL  AudioBufferMdl,
  ULONG BufferSize
);

Parameters

AudioBufferMdl

Specifies a memory descriptor list (MDL) previously allocated with a call to IMiniportWaveRTStream::AllocateAudioBuffer.

BufferSize

Output pointer for the number of bytes that the method has written to the Attributes buffer. This parameter points to a ULONG variable into which the method writes the byte count.

Return value

None

Requirements

Requirement Value
Header portcls.h
IRQL PASSIVE_LEVEL

See also

IMiniPortWaveRTStream