IUIX_Inst::CreateObj Method
From PDF XChange PDF SDK
Line 5: | Line 5: | ||
{{ToReview}} | {{ToReview}} | ||
− | Creates new object with object parameters specified | + | Creates new object with object parameters specified via [[PXV:UIX_CreateObjParams|UIX_CreateObjParams]] structure. |
== Syntax == | == Syntax == |
Revision as of 06:47, 20 May 2015
Creates new object with object parameters specified via UIX_CreateObjParams 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.