IPrintOemUni3::DownloadPattern method (prcomoem.h)
The IPrintOemUni3::DownloadPattern
method downloads a pattern to a printer.
Syntax
HRESULT DownloadPattern(
PDEVOBJ pdevobj,
SURFOBJ *psoPattern,
LONG lPatternID
);
Parameters
pdevobj
A pointer to a DEVOBJ structure.
psoPattern
A pointer to the SURFOBJ structure that contains the pattern to download.
lPatternID
The ID of the pattern to download.
Return value
If successful, this method should return S_OK. Otherwise, this method should return an appropriate value in the returned HRESULT.
Remarks
This method is available in Windows Vista and later.
You should implement this method if you want your rendering plug-in, rather than Unidrv, to download a pattern. If implemented, this method is called by DrvRealizeBrush for raster-mode print jobs. This method is not called for vector-mode print jobs.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | prcomoem.h (include Prcomoem.h) |