Bewerken

Delen via


DlAllocatePool function (dispmprt.h)

Allocates pool memory of the specified type.

Syntax

PVOID DlAllocatePool(
  IN PVOID        DeviceHandle,
  IN VP_POOL_TYPE PoolType,
  IN SIZE_T       NumberOfBytes,
  IN ULONG        Tag
);

Parameters

DeviceHandle

A handle to the device.

PoolType

Specifies the type of pool memory to allocate.

NumberOfBytes

Specifies the number of bytes to allocate.

Tag

Return value

This function returns PVOID.

Requirements

Requirement Value
Header dispmprt.h