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
0ba95f33
Commit
0ba95f33
authored
Oct 22, 2018
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 22, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
powrprof: Add PowerDeterminePlatformRoleEx() stub.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d75f2fc3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletion
+8
-1
api-ms-win-power-base-l1-1-0.spec
...s-win-power-base-l1-1-0/api-ms-win-power-base-l1-1-0.spec
+1
-1
powrprof.c
dlls/powrprof/powrprof.c
+6
-0
powrprof.spec
dlls/powrprof/powrprof.spec
+1
-0
No files found.
dlls/api-ms-win-power-base-l1-1-0/api-ms-win-power-base-l1-1-0.spec
View file @
0ba95f33
@ stdcall CallNtPowerInformation(long ptr long ptr long) powrprof.CallNtPowerInformation
@ stdcall GetPwrCapabilities(ptr) powrprof.GetPwrCapabilities
@ st
ub
PowerDeterminePlatformRoleEx
@ st
dcall PowerDeterminePlatformRoleEx(long) powrprof.
PowerDeterminePlatformRoleEx
@ stub PowerRegisterSuspendResumeNotification
@ stub PowerUnregisterSuspendResumeNotification
dlls/powrprof/powrprof.c
View file @
0ba95f33
...
...
@@ -321,6 +321,12 @@ POWER_PLATFORM_ROLE WINAPI PowerDeterminePlatformRole(void)
return
PlatformRoleDesktop
;
}
POWER_PLATFORM_ROLE
WINAPI
PowerDeterminePlatformRoleEx
(
ULONG
version
)
{
FIXME
(
"%u stub.
\n
"
,
version
);
return
PlatformRoleDesktop
;
}
DWORD
WINAPI
PowerEnumerate
(
HKEY
key
,
const
GUID
*
scheme
,
const
GUID
*
subgroup
,
POWER_DATA_ACCESSOR
flags
,
ULONG
index
,
UCHAR
*
buffer
,
DWORD
*
buffer_size
)
{
...
...
dlls/powrprof/powrprof.spec
View file @
0ba95f33
...
...
@@ -11,6 +11,7 @@
@ stdcall IsPwrShutdownAllowed ()
@ stdcall IsPwrSuspendAllowed ()
@ stdcall PowerDeterminePlatformRole ()
@ stdcall PowerDeterminePlatformRoleEx(long)
@ stdcall PowerEnumerate(long ptr ptr long long ptr ptr)
@ stdcall PowerGetActiveScheme (ptr ptr)
@ stdcall PowerSetActiveScheme (ptr ptr)
...
...
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