Platform SDK: Quality of Service

PALLOCMEM

The PALLOCMEM function is a memory allocation function provided by the PCM, used for allocating memory when returning policy information to the PCM. The PALLOCMEM function is supplied as a parameter of the LPM_Initialize function, and allows the SBM to experiment with different memory-management schemes without requiring recompilation of LPMs.

void
PALLOCMEM (
  IN DWORD Size
);

Parameters

Size
Size of the memory buffer required by the LPM.

Remarks

LPMs do not need to use this function to manage their local buffers.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Unsupported.
  Header: Declared in Lpmapi.h.