Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
95fa6fbb
Commit
95fa6fbb
authored
Apr 16, 2008
by
Michael Hoffman
Committed by
Alexandre Julliard
Apr 17, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
powrprof: Implement IsPwrHibernateAllowed.
parent
c189b5f9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
powrprof.c
dlls/powrprof/powrprof.c
+1
-3
No files found.
dlls/powrprof/powrprof.c
View file @
95fa6fbb
...
...
@@ -207,11 +207,9 @@ BOOLEAN WINAPI IsAdminOverrideActive(PADMINISTRATOR_POWER_POLICY p)
BOOLEAN
WINAPI
IsPwrHibernateAllowed
(
VOID
)
{
/* FIXME: See note #2 */
SYSTEM_POWER_CAPABILITIES
PowerCaps
;
FIXME
(
"() stub!
\n
"
);
NtPowerInformation
(
SystemPowerCapabilities
,
NULL
,
0
,
&
PowerCaps
,
sizeof
(
PowerCaps
));
return
FALSE
;
return
PowerCaps
.
SystemS4
&&
PowerCaps
.
HiberFilePresent
;
}
BOOLEAN
WINAPI
IsPwrShutdownAllowed
(
VOID
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment