次の方法で共有


IMiniportWaveRTStreamNotification::FreeBufferWithNotification メソッド (portcls.h)

FreeBufferWithNotification メソッドは、以前に IMiniportWaveRTStreamNotification::AllocateBufferWithNotification 呼び出しで割り当てられたオーディオ バッファーを解放するために使用されます。

構文

void FreeBufferWithNotification(
  [in] PMDL  AudioBufferMdl,
  [in] ULONG BufferSize
);

パラメーター

[in] AudioBufferMdl

IMiniportWaveRTStreamNotification::AllocateBufferWithNotification の呼び出しで以前に割り当てられたメモリ記述子リスト (MDL)指定します。

[in] BufferSize

メソッドが Attributes バッファーに書き込むバイト数の出力ポインター。 このパラメーターは、メソッドがバイト数を書き込む ULONG 変数を指します。

戻り値

何一つ

備考

ポート ドライバーは、このメソッドを呼び出して、IMiniportWaveRTStreamNotification::AllocateBufferWithNotification 以前の呼び出しで割り当てられたオーディオ バッファーを解放します。

必要条件

要件 価値
サポートされる最小クライアント Windows Vista 以降の Windows オペレーティング システムで使用できます。
ターゲット プラットフォーム 万国
ヘッダー portcls.h
IRQL パッシブ レベル。

関連項目

IMiniportWaveRTStreamNotification

IMiniportWaveRTStreamNotification::AllocateBufferWithNotification

MDL する