🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.indesign.sdk
Article #84

IDCS4 Win ILinkManager -> QueryLinksByObjectUID

#84
From: John_Darnell
Date: Wed, 18 Mar 2009 16:13
18 lines
1689 bytes
Hello Everyone:

In the ILinkManager.h file, we find the following lines:

/** 	 Returns the UIDs of the links that link the given object.
	 @param objectUID [IN] UID of the link object.
	 @param result	 [OUT] UIDs of the links that link the given object.
	 @return Number links that link the given object.
	 */
	virtual uint32 QueryLinksByObjectUID(UID objectUID, QueryResult& result) const = 0;
	virtual uint32 QueryLinksByObjectUID(UID objectUID, UIDList& result) const = 0;

As the member function returns only a single value (which could possibly be a UID, I admit, but could never be a number of UIDs) and as it passes in a container for the UID List (actually a vector) in the call, I wonder what the function really returns? Does anyone have any thoughts on the matter? I am suspecting it returns the number of UIDs it has placed in the container. I am going to run some tests and will let you all know what I find out. In the meantime, I'd love to hear what others think.

Also, please consider that the standard rant about Adobe improving their documentation has been included in this message.

R,
John
Technical Details
Message-ID: <59b8514a.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f63e9,4da62364cb3ec936,start
X-Google-Attributes: gidf63e9,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: John_Darnell@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.indesign.sdk
Subject: IDCS4 Win ILinkManager -> QueryLinksByObjectUID
Message-ID: <59b8514a.-1@webcrossing.la2eafNXanI>
Date: Wed, 18 Mar 2009 09:13:03 -0700
Lines: 29
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit