VS Team System
Visual C#
VS Express Editions
.NET Development
Visual J#
Architecture
Visual FoxPro
Microsoft ISV
Visual C++
Smart Device
Game Technologies
Windows Forms
Windows Live
Visual Basic
Windows Vista
Software Development Network>> Visual C++>> Putting computer into hibernate MSVC++.net
Putting computer into hibernate MSVC++.net
Hot Topic
IntelliSense works intermittently
C# or C++;
Help Calling a DLL Implicitly
stl.net: why do I get lnk2005?
VC++ Solution explorer filters blues
aspell compilation problems
using GetLastInputInfo
Compiler behavior question
__stat64, redefinition; different type when including sys\stat.h after wchar.h
Bufferoverflowu.lib for amd64 is missing in whidbey beta 2
Visual C++
Prevent linking MSVCR80.dll
_CrtIsValidHeapPointer throwing an exception
Create an instance of MSVC 7.1 using EnvDTE
Is it possible to create a bitmap file whose background is transpant?
Poly-Threaded C++ Applications
WinNT.h generating compiling errors
Please suggest how in VC++ 6.0 to save/store dynamically created images from objects of CBitmap
SendMessage to a MessageBox to simulate OK button click
Convert Visual C++ 2003 to Visual C++ 2005
public global functions
Putting computer into hibernate MSVC++.net
Hi.
Can someone please tell me what method is used to make a computer hibernate
Thanks,
The Digital Pioneer
Answer this question
Putting computer into hibernate MSVC++.net
Naman
You can use the power management function:
BOOLEAN
SetSuspendState(
BOOL
Hibernate
,
BOOL
ForceCritical
,
BOOL
DisableWakeEvent
);
Before you must call
BOOLEAN
IsPwrHibernateAllowed(void)
to check if
HIBERFIL.SYS
exists etc.
Please refer to Windows power managements function which are declared in MSDN.
Bye
Martin
Putting computer into hibernate MSVC++.net
Answer this question
Putting computer into hibernate MSVC++.net
Naman
BOOLEAN SetSuspendState(
BOOL Hibernate,
BOOL ForceCritical,
BOOL DisableWakeEvent
);
Before you must call BOOLEAN IsPwrHibernateAllowed(void) to check if HIBERFIL.SYS exists etc.
Please refer to Windows power managements function which are declared in MSDN.
Bye
Martin