IUIX_Inst::CreateObj Method

From PDF XChange PDF SDK
Revision as of 09:44, 16 June 2015 by Johnv (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Creates new object with object parameters specified via UIX_CreateObjParams structure.

Syntax

HRESULT CreateObj([in]           UIX_CreateObjParams*  stCreateParams,
                  [out, retval]  IUIX_Obj**            pNewObj);

Parameters

stCreateParams
[in] object parameters, specified via UIX_CreateObjParams structure.
pNewObj
[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 the operation was successful, or will return an error code if it fails.

See Also

IUIX_Inst