Skip to content

Latest commit

 

History

History
108 lines (86 loc) · 4.11 KB

nf-xpsobjectmodel-ixpsomdocument-getdocumentstructureresource.md

File metadata and controls

108 lines (86 loc) · 4.11 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.IXpsOMDocument.GetDocumentStructureResource
IXpsOMDocument::GetDocumentStructureResource (xpsobjectmodel.h)
Gets a pointer to the IXpsOMDocumentStructureResource interface of the resource that contains structural information about the document.
GetDocumentStructureResource
GetDocumentStructureResource method [XPS Documents and Packaging]
GetDocumentStructureResource method [XPS Documents and Packaging]
IXpsOMDocument interface
IXpsOMDocument interface [XPS Documents and Packaging]
GetDocumentStructureResource method
IXpsOMDocument.GetDocumentStructureResource
IXpsOMDocument::GetDocumentStructureResource
xps.ixpsomdocument_getdocumentstructureresource
xpsobjectmodel/IXpsOMDocument::GetDocumentStructureResource
xps\ixpsomdocument_getdocumentstructureresource.htm
xps
372aa8fd-efbb-4196-9137-4a9581c69f6c
12/05/2018
GetDocumentStructureResource, GetDocumentStructureResource method [XPS Documents and Packaging], GetDocumentStructureResource method [XPS Documents and Packaging],IXpsOMDocument interface, IXpsOMDocument interface [XPS Documents and Packaging],GetDocumentStructureResource method, IXpsOMDocument.GetDocumentStructureResource, IXpsOMDocument::GetDocumentStructureResource, xps.ixpsomdocument_getdocumentstructureresource, xpsobjectmodel/IXpsOMDocument::GetDocumentStructureResource
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
IXpsOMDocument::GetDocumentStructureResource
xpsobjectmodel/IXpsOMDocument::GetDocumentStructureResource
c++
APIRef
kbSyntax
COM
xpsobjectmodel.h
IXpsOMDocument.GetDocumentStructureResource

IXpsOMDocument::GetDocumentStructureResource

-description

Gets a pointer to the IXpsOMDocumentStructureResource interface of the resource that contains structural information about the document.

-parameters

-param documentStructureResource [out, retval]

A pointer to the IXpsOMDocumentStructureResource interface of the resource. A NULL pointer is returned if an IXpsOMDocumentStructureResource interface is not present or has not been specified.

-returns

The method returns an HRESULT. Possible values include, but are not limited to, those in the table that follows. For information about XPS document API return values that are not listed in this table, see XPS Document Errors.

Return code Description
S_OK
The method succeeded.
E_POINTER
documentStructureResource is NULL.

-remarks

After loading and parsing the resource into the XPS OM, this method might return an error that applies to another resource. This occurs because all of the relationships are parsed when a resource is loaded.

-see-also

IXpsOMDocument

XML Paper Specification

XPS Document Errors