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(
  PWDF_COMMON_BUFFER_CONFIG Config,
  ULONG                     AlignmentRequirement
);

Parameters

Config

[out] A pointer to a WDF_COMMON_BUFFER_CONFIG structure.

AlignmentRequirement

[in] 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

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

See also

WDF_COMMON_BUFFER_CONFIG