DlReleaseCommonBuffer function (dispmprt.h)

Frees a common buffer that was previously allocated.

Syntax

void DlReleaseCommonBuffer(
  IN PVOID            DeviceHandle,
  IN PVP_DMA_ADAPTER  DlpDmaAdapter,
  IN ULONG            Length,
  IN PHYSICAL_ADDRESS LogicalAddress,
  IN PVOID            VirtualAddress,
  IN BOOLEAN          CacheEnabled
);

Parameters

DeviceHandle

A handle that represents a display adapter.

DlpDmaAdapter

Length

Specifies the number of bytes of memory to be freed.

LogicalAddress

Specifies the logical address of the buffer to be freed.

VirtualAddress

Pointer to the corresponding virtual address of the allocated memory range.

CacheEnabled

Indicates whether the allocated memory is cached.

Return value

None

Requirements

Requirement Value
Header dispmprt.h