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
c2d68348
Commit
c2d68348
authored
Jan 15, 2024
by
Russell Greene
Committed by
Alexandre Julliard
Jan 25, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
powrprof: Add PowerWriteACValueIndex stub.
parent
054678aa
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
0 deletions
+8
-0
powrprof.c
dlls/powrprof/powrprof.c
+6
-0
powrprof.spec
dlls/powrprof/powrprof.spec
+1
-0
powrprof.h
include/powrprof.h
+1
-0
No files found.
dlls/powrprof/powrprof.c
View file @
c2d68348
...
@@ -356,6 +356,12 @@ DWORD WINAPI PowerSettingUnregisterNotification(HPOWERNOTIFY handle)
...
@@ -356,6 +356,12 @@ DWORD WINAPI PowerSettingUnregisterNotification(HPOWERNOTIFY handle)
return
ERROR_SUCCESS
;
return
ERROR_SUCCESS
;
}
}
DWORD
WINAPI
PowerWriteACValueIndex
(
HKEY
key
,
const
GUID
*
scheme
,
const
GUID
*
subgroup
,
const
GUID
*
setting
,
DWORD
index
)
{
FIXME
(
"(%p,%s,%s,%s,0x%08lx) stub!
\n
"
,
key
,
debugstr_guid
(
scheme
),
debugstr_guid
(
subgroup
),
debugstr_guid
(
setting
),
index
);
return
ERROR_SUCCESS
;
}
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
{
switch
(
fdwReason
)
{
switch
(
fdwReason
)
{
...
...
dlls/powrprof/powrprof.spec
View file @
c2d68348
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
@ stdcall PowerUnregisterSuspendResumeNotification(ptr)
@ stdcall PowerUnregisterSuspendResumeNotification(ptr)
@ stdcall PowerSettingRegisterNotification(ptr long ptr ptr)
@ stdcall PowerSettingRegisterNotification(ptr long ptr ptr)
@ stdcall PowerSettingUnregisterNotification(ptr)
@ stdcall PowerSettingUnregisterNotification(ptr)
@ stdcall PowerWriteACValueIndex(ptr ptr ptr ptr long)
@ stdcall ReadGlobalPwrPolicy (ptr)
@ stdcall ReadGlobalPwrPolicy (ptr)
@ stdcall ReadProcessorPwrScheme (long ptr)
@ stdcall ReadProcessorPwrScheme (long ptr)
@ stdcall ReadPwrScheme (long ptr)
@ stdcall ReadPwrScheme (long ptr)
...
...
include/powrprof.h
View file @
c2d68348
...
@@ -164,6 +164,7 @@ DWORD WINAPI PowerRegisterSuspendResumeNotification(DWORD, HANDLE, PHPOWERNOTI
...
@@ -164,6 +164,7 @@ DWORD WINAPI PowerRegisterSuspendResumeNotification(DWORD, HANDLE, PHPOWERNOTI
DWORD
WINAPI
PowerUnregisterSuspendResumeNotification
(
HPOWERNOTIFY
);
DWORD
WINAPI
PowerUnregisterSuspendResumeNotification
(
HPOWERNOTIFY
);
DWORD
WINAPI
PowerSettingRegisterNotification
(
const
GUID
*
,
DWORD
,
HANDLE
,
PHPOWERNOTIFY
);
DWORD
WINAPI
PowerSettingRegisterNotification
(
const
GUID
*
,
DWORD
,
HANDLE
,
PHPOWERNOTIFY
);
DWORD
WINAPI
PowerSettingUnregisterNotification
(
HPOWERNOTIFY
);
DWORD
WINAPI
PowerSettingUnregisterNotification
(
HPOWERNOTIFY
);
DWORD
WINAPI
PowerWriteACValueIndex
(
HKEY
,
const
GUID
*
,
const
GUID
*
,
const
GUID
*
,
DWORD
);
BOOLEAN
WINAPI
ReadGlobalPwrPolicy
(
PGLOBAL_POWER_POLICY
);
BOOLEAN
WINAPI
ReadGlobalPwrPolicy
(
PGLOBAL_POWER_POLICY
);
BOOLEAN
WINAPI
ReadProcessorPwrScheme
(
UINT
,
PMACHINE_PROCESSOR_POWER_POLICY
);
BOOLEAN
WINAPI
ReadProcessorPwrScheme
(
UINT
,
PMACHINE_PROCESSOR_POWER_POLICY
);
BOOLEAN
WINAPI
ReadPwrScheme
(
UINT
,
PPOWER_POLICY
);
BOOLEAN
WINAPI
ReadPwrScheme
(
UINT
,
PPOWER_POLICY
);
...
...
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