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
0fca7397
Commit
0fca7397
authored
Aug 06, 2019
by
Dridi Boukelmoune
Committed by
Alexandre Julliard
Aug 09, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
powrprof: Add PowerReadFriendlyName() stub.
Signed-off-by:
Dridi Boukelmoune
<
dridi.boukelmoune@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f04e7d26
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
0 deletions
+10
-0
api-ms-win-power-setting-l1-1-0.spec
...power-setting-l1-1-0/api-ms-win-power-setting-l1-1-0.spec
+1
-0
powrprof.c
dlls/powrprof/powrprof.c
+8
-0
powrprof.spec
dlls/powrprof/powrprof.spec
+1
-0
No files found.
dlls/api-ms-win-power-setting-l1-1-0/api-ms-win-power-setting-l1-1-0.spec
View file @
0fca7397
@ stdcall PowerGetActiveScheme(ptr ptr) powrprof.PowerGetActiveScheme
@ stub PowerReadACValue
@ stdcall PowerReadDCValue(ptr ptr ptr ptr ptr ptr ptr) powrprof.PowerReadDCValue
@ stdcall PowerReadFriendlyName(ptr ptr ptr ptr ptr ptr) powrprof.PowerReadFriendlyName
@ stdcall PowerSetActiveScheme(ptr ptr) powrprof.PowerSetActiveScheme
@ stub PowerSettingRegisterNotification
@ stub PowerSettingUnregisterNotification
...
...
dlls/powrprof/powrprof.c
View file @
0fca7397
...
...
@@ -315,6 +315,14 @@ DWORD WINAPI PowerReadDCValue(HKEY RootPowerKey, const GUID *Scheme, const GUID
return
ERROR_CALL_NOT_IMPLEMENTED
;
}
DWORD
WINAPI
PowerReadFriendlyName
(
HKEY
RootPowerKey
,
const
GUID
*
Scheme
,
const
GUID
*
SubGroup
,
const
GUID
*
PowerSettings
,
UCHAR
*
Buffer
,
DWORD
*
BufferSize
)
{
FIXME
(
"(%p,%s,%s,%s,%p,%p) stub!
\n
"
,
RootPowerKey
,
debugstr_guid
(
Scheme
),
debugstr_guid
(
SubGroup
),
debugstr_guid
(
PowerSettings
),
Buffer
,
BufferSize
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
}
POWER_PLATFORM_ROLE
WINAPI
PowerDeterminePlatformRole
(
void
)
{
FIXME
(
"stub
\n
"
);
...
...
dlls/powrprof/powrprof.spec
View file @
0fca7397
...
...
@@ -16,6 +16,7 @@
@ stdcall PowerGetActiveScheme (ptr ptr)
@ stdcall PowerSetActiveScheme (ptr ptr)
@ stdcall PowerReadDCValue (ptr ptr ptr ptr ptr ptr ptr)
@ stdcall PowerReadFriendlyName (ptr ptr ptr ptr ptr ptr)
@ stdcall ReadGlobalPwrPolicy (ptr)
@ stdcall ReadProcessorPwrScheme (long ptr)
@ stdcall ReadPwrScheme (long 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