WDF_COMMON_BUFFER_CONFIG_INIT function

[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

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

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft