Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Syntax
PALLOCMEM Pallocmem;
void * Pallocmem(
[in] DWORD Size,
char *szFileName,
DWORD nLine
)
{...}
Parameters
[in] Size
Size of the memory buffer required by the LPM.
szFileName
nLine
Return value
Returns a pointer to the requested memory allocation.
Remarks
LPMs do not need to use this function to manage their local buffers.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 2000 Professional [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Target Platform | Windows |
| Header | lpmapi.h |