Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Wed, 5 Mar 2008 15:11:00 -0800,    group: microsoft.public.win32.programmer.wmi        back       


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

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us