FreeBufferWithNotification 方法用于释放以前通过调用 IMiniportWaveRTStreamNotification::AllocateBufferWithNotification分配的音频缓冲区。
语法
VOID FreeBufferWithNotification(
[in] PMDL AudioBufferMdl,
[in] ULONG BufferSize
);
参数
[in] AudioBufferMdl
指定以前通过调用 IMiniportWaveRTStreamNotification::AllocateBufferWithNotification分配的内存描述符列表(MDL)。
[in] BufferSize
方法写入属性缓冲区的字节数的输出指针。 此参数指向方法在其中写入字节计数的 ULONG 变量。
返回值
没有
言论
端口驱动程序调用此方法以释放使用先前调用 IMiniportWaveRTStreamNotification::AllocateBufferWithNotification分配的音频缓冲区。
要求
| 要求 | 价值 |
|---|---|
| 最低支持的客户端 | 在 Windows Vista 和更高版本的 Windows作系统中可用。 |
| 目标平台 | 普遍 |
| 标头 | portcls.h |
| IRQL | 被动级别。 |
另请参阅
IMiniportWaveRTStreamNotification
IMiniportWaveRTStreamNotification::AllocateBufferWithNotification