IUIX_Inst::CreateObj Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
Line 3: | Line 3: | ||
{{#customTitle:IUIX_Inst::CreateObj Method}} | {{#customTitle:IUIX_Inst::CreateObj Method}} | ||
{{#parentPage:PXV:IUIX_Inst|CreateObj Method|method}} | {{#parentPage:PXV:IUIX_Inst|CreateObj Method|method}} | ||
− | |||
{{ToReview}} | {{ToReview}} | ||
− | + | Creates new object with object parameters specified in '''pCreateParams''' structure. | |
== Syntax == | == Syntax == | ||
Line 14: | Line 13: | ||
== Parameters == | == Parameters == | ||
;pCreateParams | ;pCreateParams | ||
− | :[in] | + | :[in] object parameters, specified via [[PXV:UIX_CreateObjParams|UIX_CreateObjParams]] structure. |
;ppNewObj | ;ppNewObj | ||
− | :[out, retval] | + | :[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. |
== Return Value == | == Return Value == | ||
Line 22: | Line 21: | ||
== See Also == | == See Also == | ||
− | [[PXV:IUIX_Inst|IUIX_Inst]]. | + | [[PXV:IUIX_Inst|IUIX_Inst]], [[PXV:IUIX_Obj|IUIX_Obj]], [[PXV:UIX_CreateObjParams|UIX_CreateObjParams]]. |
Revision as of 06:46, 20 May 2015
Creates new object with object parameters specified in pCreateParams structure.
Syntax
HRESULT CreateObj([in] UIX_CreateObjParams* pCreateParams, [out, retval] IUIX_Obj** ppNewObj);
Parameters
- pCreateParams
- [in] object parameters, specified via UIX_CreateObjParams structure.
- ppNewObj
- [out, retval] return object of IUIX_Obj interface. To query implementation of a required item type from
IUIX_Obj
useQueryImpl
method.
Return Value
Returns S_OK if operation was successful or error code in other cases.