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
4ecbc3a0
Commit
4ecbc3a0
authored
Jun 25, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
Jun 26, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl.exe: Implement PoCallDriver().
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
656035da
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
1 deletion
+11
-1
ntoskrnl.exe.spec
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+1
-1
pnp.c
dlls/ntoskrnl.exe/pnp.c
+9
-0
wdm.h
include/ddk/wdm.h
+1
-0
No files found.
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
View file @
4ecbc3a0
...
@@ -841,7 +841,7 @@
...
@@ -841,7 +841,7 @@
@ stub PfxInitialize
@ stub PfxInitialize
@ stub PfxInsertPrefix
@ stub PfxInsertPrefix
@ stub PfxRemovePrefix
@ stub PfxRemovePrefix
@ st
ub PoCallDriver
@ st
dcall PoCallDriver(ptr ptr)
@ stub PoCancelDeviceNotify
@ stub PoCancelDeviceNotify
@ stub PoQueueShutdownWorkItem
@ stub PoQueueShutdownWorkItem
@ stub PoRegisterDeviceForIdleDetection
@ stub PoRegisterDeviceForIdleDetection
...
...
dlls/ntoskrnl.exe/pnp.c
View file @
4ecbc3a0
...
@@ -768,6 +768,15 @@ void WINAPI PoStartNextPowerIrp( IRP *irp )
...
@@ -768,6 +768,15 @@ void WINAPI PoStartNextPowerIrp( IRP *irp )
FIXME
(
"irp %p, stub!
\n
"
,
irp
);
FIXME
(
"irp %p, stub!
\n
"
,
irp
);
}
}
/*****************************************************
* PoCallDriver (NTOSKRNL.EXE.@)
*/
NTSTATUS
WINAPI
PoCallDriver
(
DEVICE_OBJECT
*
device
,
IRP
*
irp
)
{
TRACE
(
"device %p, irp %p.
\n
"
,
device
,
irp
);
return
IoCallDriver
(
device
,
irp
);
}
static
DRIVER_OBJECT
*
pnp_manager
;
static
DRIVER_OBJECT
*
pnp_manager
;
struct
root_pnp_device
struct
root_pnp_device
...
...
include/ddk/wdm.h
View file @
4ecbc3a0
...
@@ -1670,6 +1670,7 @@ NTSTATUS WINAPI ObReferenceObjectByName(UNICODE_STRING*,ULONG,ACCESS_STATE*,ACC
...
@@ -1670,6 +1670,7 @@ NTSTATUS WINAPI ObReferenceObjectByName(UNICODE_STRING*,ULONG,ACCESS_STATE*,ACC
NTSTATUS
WINAPI
ObReferenceObjectByPointer
(
void
*
,
ACCESS_MASK
,
POBJECT_TYPE
,
KPROCESSOR_MODE
);
NTSTATUS
WINAPI
ObReferenceObjectByPointer
(
void
*
,
ACCESS_MASK
,
POBJECT_TYPE
,
KPROCESSOR_MODE
);
void
WINAPI
ObUnRegisterCallbacks
(
void
*
);
void
WINAPI
ObUnRegisterCallbacks
(
void
*
);
NTSTATUS
WINAPI
PoCallDriver
(
DEVICE_OBJECT
*
,
IRP
*
);
POWER_STATE
WINAPI
PoSetPowerState
(
PDEVICE_OBJECT
,
POWER_STATE_TYPE
,
POWER_STATE
);
POWER_STATE
WINAPI
PoSetPowerState
(
PDEVICE_OBJECT
,
POWER_STATE_TYPE
,
POWER_STATE
);
void
WINAPI
PoStartNextPowerIrp
(
IRP
*
);
void
WINAPI
PoStartNextPowerIrp
(
IRP
*
);
...
...
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