IPrintCorePS2::DrvWriteSpoolBuf method is provided by the Pscript5 driver so that a rendering plug-in can send printer data to the spooler.
HRESULT DrvWriteSpoolBuf( IN PDEVOBJ pdevobj, IN PVOID pBuffer, IN 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.|
This method has the same behavior as IPrintOemDriverPS::DrvWriteSpoolBuf. This method is supported for any Pscript5 render plug-ins.
|Header||prcomoem.h (include Prcomoem.h)|