// wdfdmaenabler.h
VOID WDF_DMA_ENABLER_CONFIG_INIT(
[out] PWDF_DMA_ENABLER_CONFIG Config,
[in] WDF_DMA_PROFILE Profile,
[in] size_t MaximumLength
);
View the official Windows Driver Kit DDI referenceNo description available.
[Applies to KMDF only]
The WDF_DMA_ENABLER_CONFIG_INIT function initializes a driver's WDF_DMA_ENABLER_CONFIG structure.
Config [out]A pointer to a driver-allocated WDF_DMA_ENABLER_CONFIG structure.
Profile [in]A value for the Profile member of the WDF_DMA_ENABLER_CONFIG structure.
MaximumLength [in]A value for the MaximumLength member of the WDF_DMA_ENABLER_CONFIG structure.
Drivers must call the WDF_DMA_ENABLER_CONFIG_INIT function before calling WdfDmaEnablerCreate.
For a code example that uses WDF_DMA_ENABLER_CONFIG_INIT, see WdfDmaEnablerCreate.