CMCIClientFT.createInstance man page

CMCIClientFT.createInstance() — Create class instance

Synopsis

#include <cmci.h>

CMPIObjectPath*
CMCIClientFT.createInstance(CMCIClient*cl,

CMPIObjectPath*op,

CMPIInstance*inst,

CMPIStatus*rc);

Description

Create class instance using op as reference.

Arguments are the client object pointer cl, ObjectPath object pointer op that contains namespace and classname components, inst is a complete instance object pointer, and rc the CMPI operation status (suppressed when NULL).

Return Value

When successful the CMCIClientFT.createInstance() function returns a pointer to a CMPIObjectPath object with the new instance reference and sets a successful status code for rc. When unsuccessful it returns NULL and sets the rc argument with the error code and and corresponding error string.

See Also

Common Manageability Programming Interface (CMPI) - OpenGroup,
CMCIClient(3), CMPIObjectPath(3), CMPIInstance(3), CMPIStatus(3)

Referenced By

CMCIClient(3).

sfcc SFCBroker Client Library