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
b9e676fe
Commit
b9e676fe
authored
Nov 21, 2010
by
Stefan Leichter
Committed by
Alexandre Julliard
Nov 23, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl.exe: Add stub for PoSetPowerState.
parent
5d7cc36d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
1 deletion
+11
-1
ntoskrnl.c
dlls/ntoskrnl.exe/ntoskrnl.c
+9
-0
ntoskrnl.exe.spec
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+1
-1
wdm.h
include/ddk/wdm.h
+1
-0
No files found.
dlls/ntoskrnl.exe/ntoskrnl.c
View file @
b9e676fe
...
@@ -1541,6 +1541,15 @@ VOID WINAPI READ_REGISTER_BUFFER_UCHAR(PUCHAR Register, PUCHAR Buffer, ULONG Cou
...
@@ -1541,6 +1541,15 @@ VOID WINAPI READ_REGISTER_BUFFER_UCHAR(PUCHAR Register, PUCHAR Buffer, ULONG Cou
}
}
/*****************************************************
/*****************************************************
* PoSetPowerState (NTOSKRNL.EXE.@)
*/
POWER_STATE
WINAPI
PoSetPowerState
(
PDEVICE_OBJECT
DeviceObject
,
POWER_STATE_TYPE
Type
,
POWER_STATE
State
)
{
FIXME
(
"(%p %u %u) stub
\n
"
,
DeviceObject
,
Type
,
State
.
DeviceState
);
return
State
;
}
/*****************************************************
* DllMain
* DllMain
*/
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
LPVOID
reserved
)
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
LPVOID
reserved
)
...
...
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
View file @
b9e676fe
...
@@ -830,7 +830,7 @@
...
@@ -830,7 +830,7 @@
@ stub PoRequestPowerIrp
@ stub PoRequestPowerIrp
@ stub PoRequestShutdownEvent
@ stub PoRequestShutdownEvent
@ stub PoSetHiberRange
@ stub PoSetHiberRange
@ st
ub PoSetPowerState
@ st
dcall PoSetPowerState(ptr long long)
@ stub PoSetSystemState
@ stub PoSetSystemState
@ stub PoShutdownBugCheck
@ stub PoShutdownBugCheck
@ stub PoStartNextPowerIrp
@ stub PoStartNextPowerIrp
...
...
include/ddk/wdm.h
View file @
b9e676fe
...
@@ -1129,6 +1129,7 @@ MM_SYSTEMSIZE WINAPI MmQuerySystemSize(void);
...
@@ -1129,6 +1129,7 @@ MM_SYSTEMSIZE WINAPI MmQuerySystemSize(void);
NTSTATUS
WINAPI
ObReferenceObjectByHandle
(
HANDLE
,
ACCESS_MASK
,
POBJECT_TYPE
,
KPROCESSOR_MODE
,
PVOID
*
,
POBJECT_HANDLE_INFORMATION
);
NTSTATUS
WINAPI
ObReferenceObjectByHandle
(
HANDLE
,
ACCESS_MASK
,
POBJECT_TYPE
,
KPROCESSOR_MODE
,
PVOID
*
,
POBJECT_HANDLE_INFORMATION
);
POWER_STATE
WINAPI
PoSetPowerState
(
PDEVICE_OBJECT
,
POWER_STATE_TYPE
,
POWER_STATE
);
NTSTATUS
WINAPI
PsCreateSystemThread
(
PHANDLE
,
ULONG
,
POBJECT_ATTRIBUTES
,
HANDLE
,
PCLIENT_ID
,
PKSTART_ROUTINE
,
PVOID
);
NTSTATUS
WINAPI
PsCreateSystemThread
(
PHANDLE
,
ULONG
,
POBJECT_ATTRIBUTES
,
HANDLE
,
PCLIENT_ID
,
PKSTART_ROUTINE
,
PVOID
);
#define PsGetCurrentProcess() IoGetCurrentProcess()
#define PsGetCurrentProcess() IoGetCurrentProcess()
#define PsGetCurrentThread() ((PETHREAD)KeGetCurrentThread())
#define PsGetCurrentThread() ((PETHREAD)KeGetCurrentThread())
...
...
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