[IXpsPrintJobStream is not supported and may be altered or unavailable in the future. ]
A write-only stream interface into which an application writes print job data.
When to implement
Never. Custom implementations of this interface are not supported.
When to use
When printing an XPS document.
A pointer to this stream interface is returned by the StartXpsPrintJob function when the print job is created. The application that has created the print job writes the XPS document to the stream. When the entire XPS document has been written to the stream, the application calls the Close method of the returned interface to notify the print spooler that all data has been sent to it.
The IXpsPrintJobStream interface inherits from ISequentialStream. IXpsPrintJobStream also has these types of members:
The IXpsPrintJobStream interface has these methods.
Closes the stream and indicates that the entire document has been written.
Note The Close method must be called before this interface is released.
Minimum supported client
|Windows 7 [desktop apps only]|
Minimum supported server
|Windows Server 2008 R2 [desktop apps only]|
End of client support