WDF_DMA_ENABLER_CONFIG_INIT
TOC
Collapse the table of content
Expand the table of content

WDF_DMA_ENABLER_CONFIG_INIT function

[Applies to KMDF only]

The WDF_DMA_ENABLER_CONFIG_INIT function initializes a driver's WDF_DMA_ENABLER_CONFIG structure.

Syntax


VOID WDF_DMA_ENABLER_CONFIG_INIT(
  _Out_ PWDF_DMA_ENABLER_CONFIG Config,
  _In_  WDF_DMA_PROFILE         Profile,
  _In_  size_t                  MaximumLength
);

Parameters

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.

Return value

None

Remarks

Drivers must call the WDF_DMA_ENABLER_CONFIG_INIT function before calling WdfDmaEnablerCreate.

Examples

For a code example that uses WDF_DMA_ENABLER_CONFIG_INIT, see WdfDmaEnablerCreate.

Requirements

Target platform

Universal

Minimum KMDF version

1.0

Header

Wdfdmaenabler.h (include Wdf.h)

IRQL

PASSIVE_LEVEL

See also

WDF_DMA_ENABLER_CONFIG
WdfDmaEnablerCreate

 

 

Send comments about this topic to Microsoft

Show:
© 2016 Microsoft