次の方法で共有


CeGetIdleTimeEx (Compact 2013)

3/28/2014

This function is an extension of GetIdleTime. It maintains idle time for each processor.

Syntax

BOOL WINAPI CeGetIdleTimeEx (
    DWORD dwProcessor,
    LPDWORD pdwIdleTime
);

Parameters

  • dwProcessor
    [in] Specifies the processor number. The processor number is a 1-based index.
  • pdwIdleTime
    [out] Pointer to the idle time.

Return Value

TRUE indicates success. FALSE indicates failure. Call GetLastError to obtain extended error information.

Requirements

Header

kfuncs.h,
windbase.h

Library

coredll.lib

See Also

Reference

SMP Functions