WDF_COMMON_BUFFER_CONFIG_INIT function (wdfcommonbuffer.h)

[Applies to KMDF only]

The WDF_COMMON_BUFFER_CONFIG_INIT function initializes a WDF_COMMON_BUFFER_CONFIG structure.

Syntax

void WDF_COMMON_BUFFER_CONFIG_INIT(
  [out] PWDF_COMMON_BUFFER_CONFIG Config,
  [in]  ULONG                     AlignmentRequirement
);

Parameters

[out] Config

A pointer to a WDF_COMMON_BUFFER_CONFIG structure.

[in] AlignmentRequirement

A value for the AlignmentRequirement member of the WDF_COMMON_BUFFER_CONFIG structure. This value specifies the alignment requirement for the common buffer that the structure describes.

Return value

None

Remarks

The WDF_COMMON_BUFFER_CONFIG_INIT function zeros the specified WDF_COMMON_BUFFER_CONFIG structure and sets the structure's AlignmentRequirement member to the specified value.

Requirements

Requirement Value
Target Platform Universal
Minimum KMDF version 1.0
Header wdfcommonbuffer.h (include WdfCommonBuffer.h)

See also

WDF_COMMON_BUFFER_CONFIG