Microsoft Internet Security and Acceleration Server 2004 SDK |
The AllocMem callback function is used to allocate memory from the process heap to a buffer. Any memory allocated by using this callback function will automatically be freed by the ISA Server Web proxy after the session ends (as indicated by the SF_NOTIFY_END_OF_NET_SESSION notification). If the memory cannot be allocated, this callback function returns NULL. For more information on the types of event notifications that are sent to Web filters, see Event Notifications.
The AllocMem callback function is declared as:
VOID* WINAPI * AllocMem( struct _HTTP_FILTER_CONTEXT* pfc, DWORD cbSize, DWORD dwReserved );
Server: Requires Windows Server 2003 or
Windows 2000.
Version: Requires Internet Security and Acceleration
Server 2004.
Header: Declared in Wpxhttpfilt.h.