The DCI_SPI_RPC method is used by providers who want Performance Services to establish a communication path between the consumer's address space and the provider's address space in order to call a provider-supplied function within the provider's adddress space to obtain the data information for the metric id registered.
#include <dci.h>
char *metricidstr; /* A metricidstr whose delimeter is first. */
void *retbuffer; /* Return buffer. */
uint32 *userword;
uint32 calltype; /* The function call type. */
uint32 datasize;
DCIStatus Return Value;
Return Value = DCI_SPI_RPCfunctionname(
metricidstr, retbuffer, userword,
calltype, datasize);