IWbemServices.ExecMethod, what is strObjectPath parameter ??
my goal is to send SMS_Attention to the Microsoft_IPMI, however, the only
error code I ever receive is INVALID_PARAMETER.
It seems to me that the INVALID_PARAMETER error is received from
ExecMethod() because the strObjectPath is incorrect:
BSTR bsClassName2 =
SysAllocString(L"Microsoft_IPMI.InstanceName=\"*IMBDRV\"");
BSTR bstrMethodName = SysAllocString( L"SMS_Attention" );
IWbemClassObject* pOutParams = NULL;
hres = pSvc->ExecMethod( bsClassName2, bstrMethodName, 0, NULL, NULL,
&pOutParams, NULL );
How do I find out what to specify as strObjectPath to send SMS_Attention ?
thankyou!
date: Wed, 5 Mar 2008 15:11:00 -0800
author: Alex