Consider the following scenario:
- An application or a service queries the HKEY_PERFORMANCE_DATA registry key for the value name GLOBAL on a computer that is running Windows Server 2008, Windows Vista, Windows Server 2008 R2, or Windows 7.
- The application or service enumerates the returned performance objects that are provided by the WmiApRpl.dll module. The number of performance objects that are to be accessed is determined by using the value of the NumObjectTypes variable in the returned PERF_DATA_BLOCK data.