CMCICLENTFT.CREATEINSTANCE(3) | SFCBroker Client Library | CMCICLENTFT.CREATEINSTANCE(3) |
CMCIClientFT.createInstance() - Create class instance
#include <cmci.h> CMPIObjectPath* CMCIClientFT.createInstance(CMCIClient*cl,
CMPIObjectPath*op,
CMPIInstance*inst,
CMPIStatus*rc);
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).
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.
Common Manageability Programming Interface (CMPI) - OpenGroup,
CMCIClient(3), CMPIObjectPath(3), CMPIInstance(3), CMPIStatus(3)
2005-06-09 | sfcc |