IOpcPartUri::IsRelationshipsPartUri method (msopc.h)

Returns a value that indicates whether the current part URI object represents the part name of a Relationships part.

Syntax

HRESULT IsRelationshipsPartUri(
  [out, retval] BOOL *isRelationshipUri
);

Parameters

[out, retval] isRelationshipUri

Receives a value that indicates whether the current part URI object represents the part name of a Relationships part.

Value Meaning
TRUE
The current part URI object represents the part name of a Relationships part.
FALSE
The current part URI object does not represent the part name of a Relationships part.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.
E_POINTER
The isRelationshipUri parameter is NULL.

Remarks

Support on Previous Windows Versions

The behavior and performance of this method is the same on all supported Windows versions. For more information, see Getting Started with the Packaging API, and Platform Update for Windows Vista.

Thread Safety

Packaging objects are not thread-safe.

For more information, see the Getting Started with the Packaging API.

Requirements

Requirement Value
Minimum supported client Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps only]
Target Platform Windows
Header msopc.h

See also

Getting Started with the Packaging API

IOpcPartUri

Overviews

Packaging API Reference

Packaging API Samples

Platform Update for Windows Vista

Reference