IUIX_Inst::CreateObj Method

From Tracker Software PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT CreateObj([in]          UIX_CreateObjParams*  stCreateParams,
+
<pre class="brush:cpp;gutter:false">HRESULT CreateObj([in]          UIX_CreateObjParams*  CreateParams,
                   [out, retval]  IUIX_Obj**            pNewObj);</pre>
+
                   [out, retval]  IUIX_Obj**            NewObj);</pre>
  
 
== Parameters ==
 
== Parameters ==
;stCreateParams
+
;CreateParams
 
:[in]  object parameters, specified via [[PXV:UIX_CreateObjParams|UIX_CreateObjParams]] structure.
 
:[in]  object parameters, specified via [[PXV:UIX_CreateObjParams|UIX_CreateObjParams]] structure.
;pNewObj
+
;NewObj
 
:[out, retval]  return object of [[PXV:IUIX_Obj|IUIX_Obj]] interface. To query implementation of a required item type from <code>IUIX_Obj</code> use <code>[[PXV:IUIX_Obj_QueryImpl|QueryImpl]]</code> method.
 
:[out, retval]  return object of [[PXV:IUIX_Obj|IUIX_Obj]] interface. To query implementation of a required item type from <code>IUIX_Obj</code> use <code>[[PXV:IUIX_Obj_QueryImpl|QueryImpl]]</code> method.
  

Revision as of 06:51, 12 June 2015


Creates new object with object parameters specified via UIX_CreateObjParams structure.

Syntax

HRESULT CreateObj([in]           UIX_CreateObjParams*  CreateParams,
                  [out, retval]  IUIX_Obj**            NewObj);

Parameters

CreateParams
[in] object parameters, specified via UIX_CreateObjParams structure.
NewObj
[out, retval] return object of IUIX_Obj interface. To query implementation of a required item type from IUIX_Obj use QueryImpl method.

Return Value

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

See Also

IUIX_Inst