GetSummaryInformation Method RRS feed

  • Question


    How do I pass the CIM_VirtualSystemSettingData REF SettingData[] and uint32 RequestedInformation[]?

    I am currently using NULL for SettingData[] and an array of 0-199 numbers for RequestedInformation. This gets me details about all VMs in the system


    How do I create SettingData[] for a specific VM? and Is there a better of way of representing the RequestedInformation?



    Tuesday, May 13, 2008 4:32 PM


All replies

  • From where did you lookup the properties corresponding to 0-199 numbers?

    Tuesday, June 3, 2008 8:41 PM
  • I dont have the lookup for 0-199 range. I just used an array of numbers in that range and passed it to GetSummaryInformation(). Without that some of the properties of Msvm_SummaryInformation instance will be NULL


    Wednesday, June 4, 2008 9:22 AM
  • Can you provide a simple code snippet of how you achieved this? I have just started trying out WMI and am not able to comprehend what exactly needs to be done to achieve this.

    Thanks in advance
    Thursday, June 26, 2008 12:03 AM
  • Not sure if you still need this...I had posted this on my blog long back (6/12/08).

    Wednesday, October 21, 2009 11:07 AM