WdfDeviceGetAlignmentRequirement - NtDoc

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

ULONG WdfDeviceGetAlignmentRequirement(
  [in] WDFDEVICE Device
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdfdevice-wdfdevicegetalignmentrequirement)

WdfDeviceGetAlignmentRequirement function

Description

[Applies to KMDF only]

The WdfDeviceGetAlignmentRequirement method retrieves a device's address alignment requirement for memory transfer operations.

Parameters

Device [in]

A handle to a framework device object.

Return value

WdfDeviceGetAlignmentRequirement returns the device's current alignment requirement. This value is one of the FILE_XXXX_ALIGNMENT constants that are defined in wdm.h.

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

See also

WdfDeviceSetAlignmentRequirement