呼叫WdfCommonBufferGetAlignedLogicalAddress,以取得裝置可以使用的緩衝區邏輯位址。 驅動程式通常會從其EvtDriverDeviceAdd回呼函式內呼叫WdfCommonBufferCreate。 在驅動程式呼叫WdfDmaEnablerCreate之前,它可以呼叫WdfDeviceSetAlignmentRequirement來設定緩衝區對齊需求。 如果驅動程式未呼叫WdfDeviceSetAlignmentRequir...
WdfCommonBufferCreateWithConfig 方法會建立記憶體緩衝區,讓驅動程式和直接記憶體存取 (DMA) 裝置可以同時存取,而 方法也會指定緩衝區組態資訊。
The WdfCommonBufferCreateWithConfig method creates a memory buffer that both the driver and a direct memory access (DMA) device can access simultaneously, and the method also specifies buffer configuration information.SyntaxC++ Copy NTSTATUS WdfCommonBufferCreateWithConfig( [in] WDFDMAENABLER Dma...
WdfCommonBufferCreateWithConfig 方法创建驱动程序和直接内存访问 (DMA) 设备都可以同时访问的内存缓冲区,并且该方法还指定缓冲区配置信息。 语法 C++ 复制 NTSTATUS WdfCommonBufferCreateWithConfig( [in] WDFDMAENABLER DmaEnabler, [in] size_t Length, [in] PWDF_COMMON_BUFFER_CONFIG Config,...
La méthode WdfCommonBufferCreateWithConfig crée une mémoire tampon à laquelle le pilote et un périphérique d’accès direct à la mémoire (DMA) peuvent accéder simultanément, et la méthode spécifie également les informations de configuration de la mémoire tampon....
WdfCommonBufferCreate方法创建驱动程序和直接内存访问 (DMA) 设备可以同时访问的内存缓冲区。 语法 C++复制 NTSTATUSWdfCommonBufferCreate( [in] WDFDMAENABLER DmaEnabler, [in]size_tLength, [in, optional] PWDF_OBJECT_ATTRIBUTES Attributes, [out] WDFCOMMONBUFFER *CommonBuffer ); ...
The WdfCommonBufferCreateWithConfig method creates a memory buffer that both the driver and a direct memory access (DMA) device can access simultaneously, and the method also specifies buffer configuration information.SyntaxC++ Copy NTSTATUS WdfCommonBufferCreateWithConfig( [in] WDF...
WdfCommonBufferCreateWithConfig メソッドは、ドライバーとダイレクト メモリ アクセス (DMA) デバイスの両方が同時にアクセスできるメモリ バッファーを作成し、バッファー構成情報も指定します。 構文 C++ コピー NTSTATUS WdfCommonBufferCreateWithConfig( [in] WDFDMAENABLER ...
[out] CommonBuffer A pointer to a WDFCOMMONBUFFER-typed variable that receives a handle to a common buffer object. Return value WdfCommonBufferCreateWithConfigreturns STATUS_SUCCESS if the operation succeeds. Otherwise, this method might return one of the following values: ...
[out] CommonBuffer A pointer to a WDFCOMMONBUFFER-typed variable that receives a handle to a common buffer object. Return value WdfCommonBufferCreateWithConfigreturns STATUS_SUCCESS if the operation succeeds. Otherwise, this method might return one of the following values: ...