IXpsPrintJobStream::Close method

[IXpsPrintJobStream::Close is not supported and may be altered or unavailable in the future. ]

Closes the stream and indicates to the print job that the entire document has been written to the print queue by the application.

Syntax

HRESULT Close(

);

Parameters

This method has no parameters.

Return Value

If the method succeeds, it returns S_OK; otherwise, it returns an HRESULT error code.

Remarks

After Close has been called, all subsequent attempts to write data to the stream will fail.

Requirements

   
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header xpsprint.h

See Also

Documents

IXpsPrintJobStream

XML Paper Specification