AllocMem

The AllocMem callback function allocates memory to a buffer. Any memory allocated with this function will automatically be freed when the net session ends.

BOOL WINAPI * AllocMem(
  struct _HTTP_FILTER_CONTEXT * pfc,
  DWORD cbSize,
  DWORD dwReserved
  );
 

Parameters

pfc
[in] Points to a HTTP_FILTER_CONTEXT structure.
cbSize
[in] The size of this structure, in bytes.
dwReserved
Reserved for use by the server.