The PDH library maintains a list of machines that have been connected to by calls to the PdhConnectMachine function. PdhEnumMachines retrieves this list of machines into a buffer of MULTI_SZ strings.