CeGetProcessorState (Compact 2013)

3/28/2014

This function obtains the state of the specified processor.


DWORD WINAPI CeGetProcessorState
(DWORD  dwProcessor);

dwProcessor

[in] Specifies the processor.

The following table lists possible values.

CE_PROCESSOR_STATE_IN_TRANSITION

The processor is in the middle of a power cycle change.

CE_PROCESSOR_STATE_POWERED_OFF

The processor is turned off.

CE_PROCESSOR_STATE_POWERED_ON

The processor is running normally.

Zero indicates failure. Call GetLastError to obtain extended error information.

Header

kfuncs.h,
winbase.h

Library

coredll.lib

Show: