hres = pSvc-> ExecMethod (vtProp.bstrVal, MethodName, 0,
//vtProp.bstrVal
NULL, NULL, &pOutParams, NULL);
The first argument should be a ClassName.
Not too familiar with that kind of code, but I believe that the pOutparams should point on a structure to get the return value of the Defrag call.