public static extern PdhStatus PdhGetFormattedCounterArray(
     PdhCounterHandle phCounter,
     PdhFormat dwFormat,
     ref UInt32 dwBufferSize,
     out UInt32 dwBufferCount,
     IntPtr itemBuffer);
Ejemplo n.º 2
0
 public static extern UInt32 PdhGetFormattedCounterValue(
     PdhCounterHandle phCounter,
     PdhFormat dwFormat,
     IntPtr lpdwType,
     out PDH_FMT_COUNTERVALUE pValue);
 public static extern PdhStatus PdhGetFormattedCounterValue(
     PdhCounterHandle phCounter,
     PdhFormat dwFormat,
     ref uint lpdwType,
     ref PDH_FMT_COUNTERVALUE pValue);