IMiniportWaveRTStreamNotification::FreeBufferWithNotification method

The FreeBufferWithNotification method is used to free an audio buffer previously allocated with a call to IMiniportWaveRTStreamNotification::AllocateBufferWithNotification.

Syntax

void FreeBufferWithNotification(
  PMDL  AudioBufferMdl,
  ULONG BufferSize
);

Parameters

AudioBufferMdl

Specifies a memory descriptor list (MDL) previously allocated with a call to IMiniportWaveRTStreamNotification::AllocateBufferWithNotification.

BufferSize

Output pointer for the number of bytes 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

Remarks

The port driver calls this method to free an audio buffer that was allocated with a previous call to IMiniportWaveRTStreamNotification::AllocateBufferWithNotification.

Requirements

   
Minimum supported client Available in Windows Vista and later Windows operating systems.
Target Platform Universal
Header portcls.h
IRQL Passive level.

See also

IMiniportWaveRTStreamNotification

IMiniportWaveRTStreamNotification::AllocateBufferWithNotification

MDL