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:msopc.IOpcUri.GetRelationshipsPartUri |
IOpcUri::GetRelationshipsPartUri (msopc.h) |
Gets the part name of the Relationships part that stores relationships that have the source URI represented by the current OPC URI object. |
|
opc\iopcuri_getrelationshipsparturi.htm |
OPC |
1b953b4c-6e8d-4097-a6bf-618b49cdd603 |
12/05/2018 |
GetRelationshipsPartUri, GetRelationshipsPartUri method [Open Packaging Conventions], GetRelationshipsPartUri method [Open Packaging Conventions],IOpcUri interface, IOpcUri interface [Open Packaging Conventions],GetRelationshipsPartUri method, IOpcUri.GetRelationshipsPartUri, IOpcUri::GetRelationshipsPartUri, msopc/IOpcUri::GetRelationshipsPartUri, opc.iopcuri_getrelationshipsparturi |
msopc.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] |
Opcparturi.idl |
Windows |
19H1 |
|
|
|
|
|
|
Gets the part name of the Relationships part that stores relationships that have the source URI represented by the current OPC URI object.
A pointer to the IOpcPartUri interface of the part URI object that represents the part name of the Relationships part. The source URI of the relationships stored in this Relationships part is represented by the current OPC URI object.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code/value | Description |
---|---|
|
The method succeeded. |
|
The relationshipPartUri parameter is NULL. |
|
The current IOpcUri represents a Relationships part and cannot be the source of any relationships. |
|
An HRESULT error code from the CreateUri function. |
|
An HRESULT error code from a WinINet API. |
The following table shows Relationships part URIs for some OPC URIs.
OPC URI | Relationships Part Name | Return Value |
---|---|---|
/mydoc/images/picture.jpg | /mydoc/images/_rels/picture.jpg.rels | S_OK |
/ | /_rels/.rels | S_OK |
/mydoc/images/_rels/picture.jpg.rels | Undefined | OPC_E_NONCONFORMING_URI |
Packaging objects are not thread-safe.
For more information, see the Getting Started with the Packaging API.
External Resources
Getting Started with the Packaging API
Overviews
Platform Update for Windows Vista
Reference