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
90244357
Commit
90244357
authored
Dec 16, 2008
by
Alexander Morozov
Committed by
Alexandre Julliard
Dec 16, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl.exe: Add stubs for Io{Allocate,Get}DriverObjectExtension.
parent
c87ca3d9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
2 deletions
+29
-2
ntoskrnl.c
dlls/ntoskrnl.exe/ntoskrnl.c
+25
-0
ntoskrnl.exe.spec
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+2
-2
wdm.h
include/ddk/wdm.h
+2
-0
No files found.
dlls/ntoskrnl.exe/ntoskrnl.c
View file @
90244357
...
...
@@ -260,6 +260,31 @@ NTSTATUS wine_ntoskrnl_main_loop( HANDLE stop_event )
/***********************************************************************
* IoAllocateDriverObjectExtension (NTOSKRNL.EXE.@)
*/
NTSTATUS
WINAPI
IoAllocateDriverObjectExtension
(
PDRIVER_OBJECT
DriverObject
,
PVOID
ClientIdentificationAddress
,
ULONG
DriverObjectExtensionSize
,
PVOID
*
DriverObjectExtension
)
{
FIXME
(
"%p, %p, %u, %p
\n
"
,
DriverObject
,
ClientIdentificationAddress
,
DriverObjectExtensionSize
,
DriverObjectExtension
);
return
STATUS_NOT_IMPLEMENTED
;
}
/***********************************************************************
* IoGetDriverObjectExtension (NTOSKRNL.EXE.@)
*/
PVOID
WINAPI
IoGetDriverObjectExtension
(
PDRIVER_OBJECT
DriverObject
,
PVOID
ClientIdentificationAddress
)
{
FIXME
(
"%p, %p
\n
"
,
DriverObject
,
ClientIdentificationAddress
);
return
NULL
;
}
/***********************************************************************
* IoInitializeIrp (NTOSKRNL.EXE.@)
*/
void
WINAPI
IoInitializeIrp
(
IRP
*
irp
,
USHORT
size
,
CCHAR
stack_size
)
...
...
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
View file @
90244357
...
...
@@ -309,7 +309,7 @@
@ stub IoAdapterObjectType
@ stub IoAllocateAdapterChannel
@ stub IoAllocateController
@ st
ub IoAllocateDriverObjectExtension
@ st
dcall IoAllocateDriverObjectExtension(ptr ptr long ptr)
@ stub IoAllocateErrorLogEntry
@ stdcall IoAllocateIrp(long long)
@ stdcall IoAllocateMdl(ptr long long long ptr)
...
...
@@ -387,7 +387,7 @@
@ stub IoGetDeviceToVerify
@ stub IoGetDiskDeviceObject
@ stub IoGetDmaAdapter
@ st
ub IoGetDriverObjectExtension
@ st
dcall IoGetDriverObjectExtension(ptr ptr)
@ stub IoGetFileObjectGenericMapping
@ stub IoGetInitialStack
@ stub IoGetLowerDeviceObject
...
...
include/ddk/wdm.h
View file @
90244357
...
...
@@ -1026,6 +1026,7 @@ PVOID WINAPI ExAllocatePoolWithQuotaTag(POOL_TYPE,SIZE_T,ULONG);
void
WINAPI
ExFreePool
(
PVOID
);
void
WINAPI
ExFreePoolWithTag
(
PVOID
,
ULONG
);
NTSTATUS
WINAPI
IoAllocateDriverObjectExtension
(
PDRIVER_OBJECT
,
PVOID
,
ULONG
,
PVOID
*
);
PIRP
WINAPI
IoAllocateIrp
(
CCHAR
,
BOOLEAN
);
NTSTATUS
WINAPI
IoCreateDevice
(
DRIVER_OBJECT
*
,
ULONG
,
UNICODE_STRING
*
,
DEVICE_TYPE
,
ULONG
,
BOOLEAN
,
DEVICE_OBJECT
**
);
NTSTATUS
WINAPI
IoCreateDriver
(
UNICODE_STRING
*
,
PDRIVER_INITIALIZE
);
...
...
@@ -1036,6 +1037,7 @@ NTSTATUS WINAPI IoDeleteSymbolicLink(UNICODE_STRING*);
void
WINAPI
IoFreeIrp
(
IRP
*
);
PEPROCESS
WINAPI
IoGetCurrentProcess
(
void
);
NTSTATUS
WINAPI
IoGetDeviceObjectPointer
(
UNICODE_STRING
*
,
ACCESS_MASK
,
PFILE_OBJECT
*
,
PDEVICE_OBJECT
*
);
PVOID
WINAPI
IoGetDriverObjectExtension
(
PDRIVER_OBJECT
,
PVOID
);
PDEVICE_OBJECT
WINAPI
IoGetRelatedDeviceObject
(
PFILE_OBJECT
);
void
WINAPI
IoInitializeIrp
(
IRP
*
,
USHORT
,
CCHAR
);
...
...
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