MI_MethodDecl_Invoke function pointer
Calls the provider implementation of a CIM method represented by a MI_MethodDecl structure.
typedef void ( MI_CALL *MI_MethodDecl_Invoke)(
_In_opt_ void *self,
_In_ MI_Context *context,
_In_ const MI_Char *nameSpace,
_In_ const MI_Char *className,
_In_ const MI_Char *methodName,
_In_ const MI_Instance *instanceName,
_In_ const MI_Instance *parameters
);
self [in, optional]
The provider state data.context [in]
The request context.nameSpace [in]
The namespace of the request.className [in]
The name of the classmethodName [in]
The name of the method.instanceName [in]
The target instance. NULL if this is a static method.parameters [in]
The input parameters for the method invocation.
This function pointer does not return a value.
The provider receives input parameters, carries out the request, and posts output parameters.
On completion the implementation must post the result by using the MI_Context_PostResult method.
Minimum supported client |
Windows 8 |
Minimum supported server |
Windows Server 2012 |
Redistributable |
Windows Management Framework 3.0 on Windows Server 2008 R2 with SP1, Windows 7 with SP1, and Windows Server 2008 with SP2 |
Header |
Mi.h |