C language function:DevicePowerSetDeviceState sample codes

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


TITLE : DevicePowerSetDeviceState function (Windows)
DWORD WINAPI DevicePowerSetDeviceState(.......
http://msdn.microsoft.com/en-us/library/windows/desktop/aa372683(v=vs.85).aspx


TITLE : Using the Device Power API (Windows)
bRet = (0 != DevicePowerSetDeviceState((LPCWSTR)pRetBuf,.......
http://msdn.microsoft.com/ja-jp/aa373243
search Google

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