Skip to content

Latest commit

 

History

History
87 lines (63 loc) · 3.59 KB

nf-xpsobjectmodel-ixpsomimageresource-getstream.md

File metadata and controls

87 lines (63 loc) · 3.59 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:xpsobjectmodel.IXpsOMImageResource.GetStream
IXpsOMImageResource::GetStream (xpsobjectmodel.h)
Gets a new, read-only copy of the stream that is associated with this resource. (IXpsOMImageResource.GetStream)
GetStream
GetStream method [XPS Documents and Packaging]
GetStream method [XPS Documents and Packaging]
IXpsOMImageResource interface
IXpsOMImageResource interface [XPS Documents and Packaging]
GetStream method
IXpsOMImageResource.GetStream
IXpsOMImageResource::GetStream
xps.ixpsomimageresource_getstream
xpsobjectmodel/IXpsOMImageResource::GetStream
xps\ixpsomimageresource_getstream.htm
xps
30d90686-67f5-4e18-811b-472e6a00538f
12/05/2018
GetStream, GetStream method [XPS Documents and Packaging], GetStream method [XPS Documents and Packaging],IXpsOMImageResource interface, IXpsOMImageResource interface [XPS Documents and Packaging],GetStream method, IXpsOMImageResource.GetStream, IXpsOMImageResource::GetStream, xps.ixpsomimageresource_getstream, xpsobjectmodel/IXpsOMImageResource::GetStream
xpsobjectmodel.h
Windows
Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps \| UWP apps]
Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps \| UWP apps]
XpsObjectModel.idl
Windows
19H1
IXpsOMImageResource::GetStream
xpsobjectmodel/IXpsOMImageResource::GetStream
c++
APIRef
kbSyntax
COM
xpsobjectmodel.h
IXpsOMImageResource.GetStream

IXpsOMImageResource::GetStream

-description

Gets a new, read-only copy of the stream that is associated with this resource.

-parameters

-param readerStream [out, retval]

A new, read-only copy of the stream that is associated with this resource.

-returns

If the method succeeds, it returns S_OK; otherwise, it returns an HRESULT error code. For information about XPS document API return values, see XPS Document Errors.

This method calls the Packaging API. For information about the Packaging API return values, see Packaging Errors.

-remarks

The IStream object returned by this method might return an error of E_PENDING, which indicates that the stream length has not been determined yet. This behavior is different from that of a standard IStream object.

This method calls the stream's Clone method to create the stream returned in stream. As a result, the performance of this method will depend on that of the stream's Clone method.

-see-also

IXpsOMImageResource

Packaging Errors

XML Paper Specification

XPS Document Errors