DevicePowerOpen function
Initializes a device list by querying all the devices.
Syntax
BOOLEAN WINAPI DevicePowerOpen( ULONG Flags );
Parameters
- Flags [optional]
-
Reserved; must be 0.
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 |
|
|
Library |
|
|
DLL |
|
See also
Show: