Platform SDK: Performance Monitoring |
The PdhVbIsGoodStatus function tests a status value to determine if it is a success or failure code. If the status value is a successful one, then the return value will be nonzero. If it is a failure status code, the return value will be zero.
PdhVbIsGoodStatus( ByVal StatusValue as Long ) as Long
The function returns zero if the status code is a failure status code. It returns nonzero if the status code is a success status code.
Windows NT/2000: Requires Windows NT 4.0 or later.
Library: Use Pdh.lib.