重要
本主題描述的函式未來可能會改變或無法使用。 相反地,Microsoft建議您使用 性能計數器函式中所述的函式。
您可以使用下列函式來處理 Visual Basic 中的效能數據。
- PdhCloseQuery
- PdhCollectQueryData
- PdhRemoveCounter
- PdhVbAddCounter
- PdhVbCreateCounterPathList
- PdhVbGetCounterPathElements
- PdhVbGetCounterPathFromList
- PdhVbGetDoubleCounterValue
- PdhVbGetLogFileSize
- PdhVbGetOneCounterPath
- PdhVbIsGoodStatus
- PdhVbOpenLog
- PdhVbOpenQuery
- PdhVbUpdateLog
注意
PdhVb*** 函式會在每個進程會話上運作,而且不是安全線程。 這些函式只能從簡單的單個線程應用程式使用。