PrtFilterAlloc

The PrtFilterAlloc function is called to obtain a data buffer from the user filter DLL in which to pass it the print data.

void * WINAPI PrtFilterAlloc(
  DWORD BufLen  
);
 

Parameters

BufLen
Supplied parameter. Indicates the length of buffer required.

Return Values

The PrtFilterAlloc function allocates a memory block of BufLen size and returns a pointer to the buffer. This function should return a NULL pointer on failure.

See Also

PrtFilterFree