DevicePowerOpen (setupapi)
Last changed: anonymous

.
Summary
Initializes a device list by querying all the devices.

C# Signature:

[DllImport("powrprof.dll", SetLastError=true)]
[return: MarshalAs(UnmanagedType.Bool)]
static extern bool DevicePowerOpen(uint flags);

VB Signature:

Declare Function DevicePowerOpen Lib "powrprof.dll" (TODO) As TODO

User-Defined Types:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

The flags parameter should be set to 0 always.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation