func SetupTesting(counterstringsfile, countersfile string) {
	activeCounterStrings, _ = ReadCounterStrings(counterstringsfile)
	activeAvailableCounters, _ = ReadCounters(countersfile)
	// For testing
	pfnMakeCounterSetInstances = mockmakeCounterSetIndexes
	pfnPdhOpenQuery = mockPdhOpenQuery
	pfnPdhAddCounter = mockPdhAddCounter
	pfnPdhAddEnglishCounter = mockPdhAddEnglishCounter
	pfnPdhCollectQueryData = mockPdhCollectQueryData
	pfnPdhEnumObjectItems = mockpdhEnumObjectItems
	pfnPdhRemoveCounter = mockPdhRemoveCounter
	pfnPdhLookupPerfNameByIndex = mockpdhLookupPerfNameByIndex
	pfnPdhGetFormattedCounterValueFloat = mockpdhGetFormattedCounterValueFloat
	pfnPdhCloseQuery = mockPdhCloseQuery
	pfnPdhMakeCounterPath = mockpdhMakeCounterPath

}
// SetupTesting initializes the PDH libarary with the mock functions rather than the real thing
SetupTesting initializes the PDH libarary with the mock functions rather than the real thing
// SetupTesting initializes the PDH libarary with the mock functions rather than the real thing
func SetupTesting(counterstringsfile, countersfile string) {
	activeCounterStrings, _ = ReadCounterStrings(counterstringsfile)
	activeAvailableCounters, _ = ReadCounters(countersfile)
	pfnMakeCounterSetInstances = mockmakeCounterSetIndexes
	pfnPdhOpenQuery = mockPdhOpenQuery
	pfnPdhAddCounter = mockPdhAddCounter
	pfnPdhAddEnglishCounter = mockPdhAddEnglishCounter
	pfnPdhCollectQueryData = mockPdhCollectQueryData
	pfnPdhEnumObjectItems = mockpdhEnumObjectItems
	pfnPdhRemoveCounter = mockPdhRemoveCounter
	pfnPdhLookupPerfNameByIndex = mockpdhLookupPerfNameByIndex
	pfnPdhGetFormattedCounterValueFloat = mockpdhGetFormattedCounterValueFloat
	pfnPdhCloseQuery = mockPdhCloseQuery
	pfnPdhMakeCounterPath = mockpdhMakeCounterPath
}
func SetupTesting ( counterstringsfile , countersfile string ) { activeCounterStrings , _ = ReadCounterStrings ( counterstringsfile ) activeAvailableCounters , _ = ReadCounters ( countersfile ) pfnMakeCounterSetInstances = mockmakeCounterSetIndexes pfnPdhOpenQuery = mockPdhOpenQuery pfnPdhAddCounter = mockPdhAddCounter pfnPdhAddEnglishCounter = mockPdhAddEnglishCounter pfnPdhCollectQueryData = mockPdhCollectQueryData pfnPdhEnumObjectItems = mockpdhEnumObjectItems pfnPdhRemoveCounter = mockPdhRemoveCounter pfnPdhLookupPerfNameByIndex = mockpdhLookupPerfNameByIndex pfnPdhGetFormattedCounterValueFloat = mockpdhGetFormattedCounterValueFloat pfnPdhCloseQuery = mockPdhCloseQuery pfnPdhMakeCounterPath = mockpdhMakeCounterPath }
SetupTesting initializes the PDH libarary with the mock functions rather than the real thing
SetupTesting initializes the PDH libarary with the mock functions rather than the real thing
// For testing