Share via


CePowerOffProcessor (Compact 2013)

3/28/2014

This function turns off the specified processor.

Syntax

BOOL CePowerOffProcessor (
    DWORD dwProcessor,
    DWORD dwHint
    );

Parameters

  • dwProcessor
    [in] Specifies the number of the processor to be turned off. The processor number is a 1-based index.
  • dwHint
    An OEM-specific hint that is passed to the OEM adaption layer (OAL), which indicates whether to implement a partial power-down or a full shutdown. A value of 1 indicates full shutdown.

Return Value

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

Remarks

This function can be called only in kernel mode.

Requirements

Header

pkfuncs.h

Library

coredll.lib

See Also

Reference

SMP Functions
Process and Thread Functions
CePowerOnProcessor