IPXC_NameTree::Lookup Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT Lookup([in]          BSTR              pName,
+
<pre class="brush:cpp;gutter:false">HRESULT Lookup([in]          BSTR              sName,
               [out, retval]  IPXS_PDFVariant**  ppValue);</pre>
+
               [out, retval]  IPXS_PDFVariant**  pValue);</pre>
  
 
== Parameters ==
 
== Parameters ==
;pName
+
;sName
 
:[in]  Name of the item to look for in the name tree.
 
:[in]  Name of the item to look for in the name tree.
;ppValue
+
;pValue
 
:[out, retval]  Pointer to [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]] containing the resulting data of the item if found in the name tree.
 
:[out, retval]  Pointer to [[PXV:IPXS_PDFVariant|IPXS_PDFVariant]] containing the resulting data of the item if found in the name tree.
  

Latest revision as of 03:30, 15 June 2015

Gets structure variant by item name.

Syntax

HRESULT Lookup([in]           BSTR               sName,
               [out, retval]  IPXS_PDFVariant**  pValue);

Parameters

sName
[in] Name of the item to look for in the name tree.
pValue
[out, retval] Pointer to IPXS_PDFVariant containing the resulting data of the item if found in the name tree.

Return Value

Returns S_OK if the operation was successful, or will return an error code if it fails.

See Also

IPXC_NameTree