C language function:DevicePowerEnumDevices sample codes

Search sample code in the internet.It is the result.


TITLE : Using the Device Power API (Windows)
!= (bRet = DevicePowerEnumDevices(uIndex,.......
http://msdn.microsoft.com/ja-jp/aa373243


TITLE : DevicePowerEnumDevices function (Windows)
BOOLEAN WINAPI DevicePowerEnumDevices(.......
http://msdn.microsoft.com/ja-jp/library/windows/desktop/aa372681(v=vs.85).aspx
TITLE : pinvoke.net: DevicePowerEnumDevices (powrprof)
static extern bool DevicePowerEnumDevices(uint queryIndex, QueryInterpretationFlags queryInterpretationFlags, QueryFlags queryFlags, IntPtr pReturnBuffer, ref uint pBufferSize);.......
http://www.pinvoke.net/default.aspx/powrprof.DevicePowerEnumDevices
TITLE : pinvoke.net: DevicePowerEnumDevices (powrprof)
(result = DevicePowerEnumDevices(index, QueryInterpretationFlags.DEVICEPOWER_FILTER_DEVICES_PRESENT, QueryFlags.PDCAP_D2_SUPPORTED, ptrBuffer, ref size)) != false).......
http://www.pinvoke.net/default.aspx/powrprof.DevicePowerEnumDevices
search Google

https://www.google.com/#q=DevicePowerEnumDevices