Example #1
0
 public static extern UInt32 PdhGetFormattedCounterValue(PdhCounterHandle phCounter, PdhFormat dwFormat, IntPtr lpdwType, out PDH_FMT_COUNTERVALUE pValue);
Example #2
0
 public static extern UInt32 PdhAddCounter(PdhQueryHandle hQuery, string szFullCounterPath, IntPtr dwUserData, out PdhCounterHandle phCounter);