CMCIClientFT.inovkeMethod(3) | SFCBroker Client Library | CMCIClientFT.inovkeMethod(3) |
CMCIClientFT.invokeMethod() - Invoke a named method of an instance
#include <cmci.h> CMPIEnumeration* CMCIClientFT.invokeMethod(CMCIClient*cl,
CMPIObjectPath*op,
constchar*method,
CMPIArgs*in,
CMPIArgs*out,
CMPIStatus*rc);
Invoke a named method of an instance defined by the op reference.
Arguments are the client object pointer cl, an ObjectPath object pointer op with the reference that contains namespace and classname components, method pointer to string that identifies the class method, in pointer to the input arguments, out pointer to the output parameters, and rc which returns the operation status (suppressed when NULL).
When successful the CMCIClientFT.invokeMethod() function returns the CMPIData value returned by the method invoked and sets a successful operation status code in rc. When unsuccessful it returns a NULL pointer and sets the operation status error code and corresponding error string in rc.
Common Manageability Programming Interface (CMPI) - OpenGroup,
CMCIClient(3), CMPIEnumeration(3), CMPIObjectPath(3), CMPIArgs(3),
CMPIStatus(3)
2005-06-09 | sfcc |