EVT_WDF_DMA_ENABLER_ENABLE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdfdmaenabler.h

EVT_WDF_DMA_ENABLER_ENABLE EvtWdfDmaEnablerEnable;

NTSTATUS EvtWdfDmaEnablerEnable(
  [in] WDFDMAENABLER DmaEnabler
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-wdfdmaenabler-evt_wdf_dma_enabler_enable)

EVT_WDF_DMA_ENABLER_ENABLE callback function

Description

[Applies to KMDF only]

A driver's EvtDmaEnablerEnable event callback function enables a device's DMA capability after the device enters its working (D0) state.

Parameters

DmaEnabler [in]

A handle to a DMA enabler object.

Return value

EvtDmaEnablerEnable must return STATUS_SUCCESS or another status value for which NT_SUCCESS(status) equals TRUE, if it encounters no errors. Otherwise, this callback function must return a status value for which NT_SUCCESS(status) equals FALSE.

Remarks

To register an EvtDmaEnablerEnable callback function, a function driver for a DMA device places the callback function's address in a WDF_DMA_ENABLER_CONFIG structure before the driver calls WdfDmaEnablerCreate.

For more information about the EvtDmaEnablerEnable callback function, see Supporting Power Management for DMA Devices.

The EvtDmaEnablerEnable callback function is called at IRQL = PASSIVE_LEVEL. You should not make this callback function pageable.

See also

EvtDmaEnablerDisable

WDF_DMA_ENABLER_CONFIG

WdfDmaEnablerCreate