DevicePowerClose function

Frees all nodes in the device list and destroys the device list.

Syntax


BOOLEAN WINAPI DevicePowerClose(void);

Parameters

This function has no parameters.

Return value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero.

Examples

For an example that uses this function, see Using the Device Power API.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

PowrProf.h

Library

PowrProf.lib

DLL

PowrProf.dll

See also

Device Power Management

 

 

Show: