IOperation::CreateInputItem Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT CreateInputItem([in]          IUnknown*      pSrc,
+
<pre class="brush:cpp;gutter:false">HRESULT CreateInputItem([in]          IUnknown*      Src,
                         [out, retval]  IOpInputItem**  pNewInputItem);</pre>
+
                         [out, retval]  IOpInputItem**  NewInputItem);</pre>
  
 
== Parameters ==
 
== Parameters ==
;pSrc
+
;Src
 
:[in]  Pointer to the IUnknown based interface of the input object for the operation.
 
:[in]  Pointer to the IUnknown based interface of the input object for the operation.
;pNewInputItem
+
;NewInputItem
 
:[out, retval]  Pointer to a buffer, that receives a pointer to the wrapper object.
 
:[out, retval]  Pointer to a buffer, that receives a pointer to the wrapper object.
  

Revision as of 06:52, 12 June 2015


Creates wrapper for the input object of the operation. This wrapper allows to pass additional parameters along with the input object.

Syntax

HRESULT CreateInputItem([in]           IUnknown*       Src,
                        [out, retval]  IOpInputItem**  NewInputItem);

Parameters

Src
[in] Pointer to the IUnknown based interface of the input object for the operation.
NewInputItem
[out, retval] Pointer to a buffer, that receives a pointer to the wrapper object.

Return Value

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

See Also

IOperation
IOpInputItem