SCSI Miniport, WMI and creating dynamic instances

Hi All,

I am using SCSIWMI lib to WMI enable my SCSI miniport driver. I have a
class defined in my MOF that can have an arbitrary number of instances.

Therefore I can’t initialize InstanceCount member of SCSIWMIGUIDREGINFO
structure for the class one time and forget. InstanceCount for this class
can change and I really don’t know how many instances this class will have
untill, may be, first call querying for the data block for this class.
Moreover the instance count may change later as well.

Is there anyway to achieve such a capability using SCSIWMI library?

I came across an API ScsiPortWmiSetinstanceCount but not sure when and how
I should call this, anyone used this?

Thanks in advance!
-Bandeep