public static extern PdhStatus PdhCalculateCounterFromRawValue( PdhCounter hCounter, PdhFmt dwFormat, ref PDH_RAW_COUNTER rawValue1, ref PDH_RAW_COUNTER rawValue2, out PDH_FMT_COUNTERVALUE fmtValue);
public static extern PdhStatus PdhGetFormattedCounterValue( PdhCounter counter, PdhFmt dwFormat, out int lpdwType, out PDH_FMT_COUNTERVALUE pValue);