IPrintOemDriverPS::DrvWriteSpoolBuf method is provided by the Pscript5 driver so that rendering plug-ins can send printer data to the spooler.
HRESULT DrvWriteSpoolBuf( PDEVOBJ pdevobj, PVOID pBuffer, DWORD cbSize, OUT DWORD *pdwResult );
Caller-supplied pointer to a DEVOBJ structure.
Caller-supplied pointer to a buffer containing data to be sent to the print spooler.
Caller-supplied value representing the size, in bytes, of the buffer pointed to by pBuffer.
Receives a method-supplied value representing the number of bytes sent to the spooler.
The method must return one of the following values.
||The operation succeeded.|
||The operation failed|
||The method is not implemented.|
Rendering plug-ins are described in Customizing Microsoft's Printer Drivers.
|Header||prcomoem.h (include Prcomoem.h)|