3(2005-06-09) 3(2005-06-09)
NAMECMCIClientFT.invokeMethod() - Invoke a named method of an instance
SYNOPSIS
#include <cmci.h>
CMPIEnumeration*
CMCIClientFT.invokeMethod(CMCIClient*cl,
CMPIObjectPath*op,
constchar*method,
CMPIArgs*in,
CMPIArgs*out,
CMPIStatus*rc);
DESCRIPTION
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 parame‐
ters, and rc which returns the operation status (suppressed when NULL).
RETURN VALUE
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.
ERRORSEXAMPLESCONFORMING TOSEE ALSO
Common Manageability Programming Interface (CMPI) - OpenGroup,
CMCIClient(3), CMPIEnumeration(3), CMPIObjectPath(3), CMPIArgs(3), CMP‐
IStatus(3)SFCBroker Client Library sfcc 3(2005-06-09)