Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The FreeBufferWithNotification
method is used to free an audio buffer previously allocated with a call to IMiniportWaveRTStreamNotification::AllocateBufferWithNotification.
Syntax
void FreeBufferWithNotification(
[in] PMDL AudioBufferMdl,
[in] ULONG BufferSize
);
Parameters
[in] AudioBufferMdl
Specifies a memory descriptor list (MDL) previously allocated with a call to IMiniportWaveRTStreamNotification::AllocateBufferWithNotification.
[in] 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
Requirement | Value |
---|---|
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