DlAllocatePool function

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

   
Header dispmprt.h