public static PdhStatus GetFormattedValue(
     this PdhCounter counter,
     out PDH_FMT_COUNTERVALUE value)
 => PdhExports.PdhGetFormattedCounterValue(
     counter,
     DefaultFmt,
     out _,
     out value);
Example #2
0
 public static extern PdhStatus PdhCalculateCounterFromRawValue(
     PdhCounter hCounter, PdhFmt dwFormat,
     ref PDH_RAW_COUNTER rawValue1,
     ref PDH_RAW_COUNTER rawValue2,
     out PDH_FMT_COUNTERVALUE fmtValue);
Example #3
0
 public static extern PdhStatus PdhGetFormattedCounterValue(PdhCounter counter, PdhFmt dwFormat,
                                                            out int lpdwType, out PDH_FMT_COUNTERVALUE pValue);