WdfDmaEnablerGetMaximumLength - NtDoc

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

size_t WdfDmaEnablerGetMaximumLength(
  [in] WDFDMAENABLER DmaEnabler
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdfdmaenabler-wdfdmaenablergetmaximumlength)

WdfDmaEnablerGetMaximumLength function

Description

[Applies to KMDF only]

The WdfDmaEnablerGetMaximumLength method returns the maximum transfer length, for a single DMA transfer, that a device supports.

Parameters

DmaEnabler [in]

A handle to a DMA enabler object that the driver obtained from a previous call to WdfDmaEnablerCreate.

Return value

WdfDmaEnablerGetMaximumLength returns the maximum length of a DMA transfer, in bytes. This length is the same value that was specified in a previous call to WdfDmaEnablerCreate.

A bug check occurs if the driver supplies an invalid object handle.

See also

WDF_DMA_ENABLER_CONFIG

WdfDmaEnablerCreate

WdfDmaEnablerGetFragmentLength