PFN_DrvWriteSpoolBuf callback function (printoem.h)

The DrvWriteSpoolBuf function pointed to by this function pointer is obsolete.

Windows 2000 and later render plug-ins should use IPrintOemDriverUni::DrvWriteSpoolBuf (Unidrv plug-ins), IPrintOemDriverPS::DrvWriteSpoolBuf (Pscript plug-ins), or IPrintCorePS2::DrvWriteSpoolBuf (Pscript plug-ins).

This function pointer prototype defines the DrvWriteSpoolBuf member of the DRVPROCS structure.

Syntax

PFN_DrvWriteSpoolBuf PfnDrvwritespoolbuf;

DWORD PfnDrvwritespoolbuf(
  PDEVOBJ pdevobj,
  PVOID pBuffer,
  DWORD cbSize
)
{...}

Parameters

pdevobj

Defines the PDEVOBJ parameter pdevobj.

pBuffer

Defines the PVOID parameter pBuffer.

cbSize

Defines the DWORD parameter cbSize.

Return value

Returns a DWORD value.

Requirements

Requirement Value
Target Platform Windows
Header printoem.h (include Printoem.h)