PALLOCATE_COMMON_BUFFER_VECTOR callback function (wdm.h)

Describes the PALLOCATE_COMMON_BUFFER_VECTOR callback function.

Syntax

PALLOCATE_COMMON_BUFFER_VECTOR PallocateCommonBufferVector;

NTSTATUS PallocateCommonBufferVector(
  PDMA_ADAPTER DmaAdapter,
  PHYSICAL_ADDRESS LowAddress,
  PHYSICAL_ADDRESS HighAddress,
  MEMORY_CACHING_TYPE CacheType,
  NODE_REQUIREMENT IdealNode,
  ULONG Flags,
  ULONG NumberOfElements,
  ULONGLONG SizeOfElements,
  PDMA_COMMON_BUFFER_VECTOR *VectorOut
)
{...}

Parameters

DmaAdapter

LowAddress

HighAddress

CacheType

IdealNode

Flags

NumberOfElements

SizeOfElements

VectorOut

Return value

Return STATUS_SUCCESS if the operation succeeds. Otherwise, return an appropriate NTSTATUS Values error code. For more information, see NTSTATUS Values.

Requirements

Requirement Value
Header wdm.h (include Wdm.h)