Fix up several issues with the updated instance domain handling
code in the Windows PMDA. Some metrics were annotated with the
wrong instance type. When discarding the _Total values from the
PDH API routines, need to return -1 from windows_check_instance,
else these are still counted. Finally, delay windows_init call
until after the domain number has been pushed into the pmid and
indom values in the metric table.
Fix up several issues with the updated instance domain handling
code in the Windows PMDA. Some metrics were annotated with the
wrong instance type. When discarding the _Total values from the
PDH API routines, need to return -1 from windows_check_instance,
else these are still counted. Finally, delay windows_init call
until after the domain number has been pushed into the pmid and
indom values in the metric table.