Example #1
0
 public static extern PdhErrorCode PdhGetFormattedCounterValue(
     PdhCounterHandle phCounter,
     uint dwFormat,
     IntPtr lpdwType,
     out PdhFormattedCounterValue pValue);
Example #2
0
 public static extern PdhErrorCode PdhAddCounter(PdhQueryHandle hQuery, string counterPath, IntPtr userData,
                                                 out PdhCounterHandle counter);