IPXV_PresetsListCallbacks::CreateNewItem Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
m (Automatic page editing by robot)
Line 5: Line 5:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT CreateNewItem([in] BSTR pName, [in, optional] BSTR pDesc, [out, retval, optional] LONG* pNewItemIndex);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT CreateNewItem([in] BSTR pName, [in, defaultvalue("")] BSTR pDesc, [out, retval, defaultvalue(NULL)] LONG* pNewItemIndex);</pre>
  
 
== Parameters ==
 
== Parameters ==
Line 11: Line 11:
 
:[in]  Value of BSTR.
 
:[in]  Value of BSTR.
 
;''pDesc''
 
;''pDesc''
:[in, optional]  Value of BSTR.
+
:[in, defaultvalue("")]  Value of BSTR.
 
;''pNewItemIndex''
 
;''pNewItemIndex''
:[out, retval, optional]  Pointer to LONG.
+
:[out, retval, defaultvalue(NULL)]  Pointer to LONG.
  
 
== Return Value ==
 
== Return Value ==

Revision as of 01:53, 17 April 2015

The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT CreateNewItem([in] BSTR pName, [in, defaultvalue("")] BSTR pDesc, [out, retval, defaultvalue(NULL)] LONG* pNewItemIndex);

Parameters

pName
[in] Value of BSTR.
pDesc
[in, defaultvalue("")] Value of BSTR.
pNewItemIndex
[out, retval, defaultvalue(NULL)] Pointer to LONG.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

See also IPXV_PresetsListCallbacks.