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
89d458a1
Commit
89d458a1
authored
Jan 31, 2010
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Feb 01, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
powrprof: Add stubs for PowerGetActiveScheme and PowerReadDCValue.
parent
737ed17f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
powrprof.c
dlls/powrprof/powrprof.c
+12
-0
powrprof.spec
dlls/powrprof/powrprof.spec
+2
-0
No files found.
dlls/powrprof/powrprof.c
View file @
89d458a1
...
...
@@ -297,6 +297,18 @@ BOOLEAN WINAPI WritePwrScheme(PUINT puiID, LPWSTR lpszName, LPWSTR lpszDescripti
return
FALSE
;
}
DWORD
WINAPI
PowerGetActiveScheme
(
HKEY
UserRootPowerKey
,
GUID
**
polguid
)
{
FIXME
(
"(%p,%p) stub!
\n
"
,
UserRootPowerKey
,
polguid
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
}
DWORD
WINAPI
PowerReadDCValue
(
HKEY
RootPowerKey
,
const
GUID
*
Scheme
,
const
GUID
*
SubGroup
,
const
GUID
*
PowerSettings
,
PULONG
Type
,
PUCHAR
Buffer
,
DWORD
*
BufferSize
)
{
FIXME
(
"(%p,%s,%s,%s,%p,%p,%p) stub!
\n
"
,
RootPowerKey
,
debugstr_guid
(
Scheme
),
debugstr_guid
(
SubGroup
),
debugstr_guid
(
PowerSettings
),
Type
,
Buffer
,
BufferSize
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
}
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
switch
(
fdwReason
)
{
...
...
dlls/powrprof/powrprof.spec
View file @
89d458a1
...
...
@@ -10,6 +10,8 @@
@ stdcall IsPwrHibernateAllowed ()
@ stdcall IsPwrShutdownAllowed ()
@ stdcall IsPwrSuspendAllowed ()
@ stdcall PowerGetActiveScheme (ptr ptr)
@ stdcall PowerReadDCValue (ptr 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