Share via


PMExt_DeInit (Compact 2013)

3/26/2014

When Power Manager shuts down, it calls PMExt_DeInit to enable the Power Management Extension (PME) to perform any needed shutdown tasks.

Syntax

VOID PMExt_DeInit(
  DWORD dwExtContext
);

Parameters

  • dwExtContext
    [in] Context value returned after PME initialization by PMExt_Init.

Remarks

When PMExt_DeInit is called, Power Manager is shutting down. PMEs should perform any needed cleanup work at this point.

Warning

Power Management Extensions execute within the context of the core Power Manager, and can have a significant effect on overall system performance and security. Errors in a PME can block the core Power Manager thread indefinitely; this can cause the system to stop responding. Performance issues in a PME can harm overall system performance. Security vulnerabilities in a PME can increase a system's vulnerability to malicious attacks.

Return Value

None.

Requirements

Header

Pmext.h

See Also

Reference

Power Management Functions