Performance Counters Functions for Visual Basic


The functions that this topic describes may be altered or unavailable in the future. Instead, Microsoft recommends that you use the functions described in Performance Counters Functions.

You can use the following functions to work with performance data in Visual Basic.


The PdhVb*** functions work on a per-process session and are not thread-safe. These functions should only be used from simple single-threaded applications.