C language function:IsPwrHibernateAllowed sample codes

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


TITLE : PowerCreateRequest function (Windows)
BOOLEAN WINAPI IsPwrHibernateAllowed(void);.......
http://msdn.microsoft.com/en-us/library/windows/desktop/aa372705(v=vs.85).aspx


TITLE : On VB: Calling the Win32 API from Visual Basic 2010 -- Visual Studio Magazine
If (Win32API.IsPwrHibernateAllowed() <> 0) Then.......
http://visualstudiomagazine.com/articles/2010/04/20/call-win32-api-functions-in-vb.aspx
search Google

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