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
217af4e7
Commit
217af4e7
authored
Jul 29, 2008
by
Alexander Morozov
Committed by
Alexandre Julliard
Jul 30, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl.exe: Add stubs for IoAllocateIrp, IoInitializeIrp and IoFreeIrp.
parent
478e64f5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
3 deletions
+35
-3
ntoskrnl.c
dlls/ntoskrnl.exe/ntoskrnl.c
+29
-0
ntoskrnl.exe.spec
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+3
-3
wdm.h
include/ddk/wdm.h
+3
-0
No files found.
dlls/ntoskrnl.exe/ntoskrnl.c
View file @
217af4e7
...
@@ -247,6 +247,35 @@ NTSTATUS wine_ntoskrnl_main_loop( HANDLE stop_event )
...
@@ -247,6 +247,35 @@ NTSTATUS wine_ntoskrnl_main_loop( HANDLE stop_event )
}
}
}
}
/***********************************************************************
* IoInitializeIrp (NTOSKRNL.EXE.@)
*/
void
WINAPI
IoInitializeIrp
(
IRP
*
irp
,
USHORT
size
,
CCHAR
stack_size
)
{
FIXME
(
"%p, %u, %d
\n
"
,
irp
,
size
,
stack_size
);
}
/***********************************************************************
* IoAllocateIrp (NTOSKRNL.EXE.@)
*/
PIRP
WINAPI
IoAllocateIrp
(
CCHAR
stack_size
,
BOOLEAN
charge_quota
)
{
FIXME
(
"%d, %d
\n
"
,
stack_size
,
charge_quota
);
return
NULL
;
}
/***********************************************************************
* IoFreeIrp (NTOSKRNL.EXE.@)
*/
void
WINAPI
IoFreeIrp
(
IRP
*
irp
)
{
FIXME
(
"%p
\n
"
,
irp
);
}
/***********************************************************************
/***********************************************************************
* IoAllocateMdl (NTOSKRNL.EXE.@)
* IoAllocateMdl (NTOSKRNL.EXE.@)
*/
*/
...
...
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
View file @
217af4e7
...
@@ -311,7 +311,7 @@
...
@@ -311,7 +311,7 @@
@ stub IoAllocateController
@ stub IoAllocateController
@ stub IoAllocateDriverObjectExtension
@ stub IoAllocateDriverObjectExtension
@ stub IoAllocateErrorLogEntry
@ stub IoAllocateErrorLogEntry
@ st
ub IoAllocateIrp
@ st
dcall IoAllocateIrp(long long)
@ stdcall IoAllocateMdl(ptr long long long ptr)
@ stdcall IoAllocateMdl(ptr long long long ptr)
@ stdcall IoAllocateWorkItem(ptr)
@ stdcall IoAllocateWorkItem(ptr)
@ stub IoAssignResources
@ stub IoAssignResources
...
@@ -370,7 +370,7 @@
...
@@ -370,7 +370,7 @@
@ stub IoForwardIrpSynchronously
@ stub IoForwardIrpSynchronously
@ stub IoFreeController
@ stub IoFreeController
@ stub IoFreeErrorLogEntry
@ stub IoFreeErrorLogEntry
@ st
ub IoFreeIrp
@ st
dcall IoFreeIrp(ptr)
@ stub IoFreeMdl
@ stub IoFreeMdl
@ stub IoFreeWorkItem
@ stub IoFreeWorkItem
@ stub IoGetAttachedDevice
@ stub IoGetAttachedDevice
...
@@ -397,7 +397,7 @@
...
@@ -397,7 +397,7 @@
@ stub IoGetRequestorSessionId
@ stub IoGetRequestorSessionId
@ stub IoGetStackLimits
@ stub IoGetStackLimits
@ stub IoGetTopLevelIrp
@ stub IoGetTopLevelIrp
@ st
ub IoInitializeIrp
@ st
dcall IoInitializeIrp(ptr long long)
@ stub IoInitializeRemoveLockEx
@ stub IoInitializeRemoveLockEx
@ stub IoInitializeTimer
@ stub IoInitializeTimer
@ stub IoInvalidateDeviceRelations
@ stub IoInvalidateDeviceRelations
...
...
include/ddk/wdm.h
View file @
217af4e7
...
@@ -932,13 +932,16 @@ PVOID WINAPI ExAllocatePoolWithQuotaTag(POOL_TYPE,SIZE_T,ULONG);
...
@@ -932,13 +932,16 @@ PVOID WINAPI ExAllocatePoolWithQuotaTag(POOL_TYPE,SIZE_T,ULONG);
void
WINAPI
ExFreePool
(
PVOID
);
void
WINAPI
ExFreePool
(
PVOID
);
void
WINAPI
ExFreePoolWithTag
(
PVOID
,
ULONG
);
void
WINAPI
ExFreePoolWithTag
(
PVOID
,
ULONG
);
PIRP
WINAPI
IoAllocateIrp
(
CCHAR
,
BOOLEAN
);
NTSTATUS
WINAPI
IoCreateDevice
(
DRIVER_OBJECT
*
,
ULONG
,
UNICODE_STRING
*
,
DEVICE_TYPE
,
ULONG
,
BOOLEAN
,
DEVICE_OBJECT
**
);
NTSTATUS
WINAPI
IoCreateDevice
(
DRIVER_OBJECT
*
,
ULONG
,
UNICODE_STRING
*
,
DEVICE_TYPE
,
ULONG
,
BOOLEAN
,
DEVICE_OBJECT
**
);
NTSTATUS
WINAPI
IoCreateDriver
(
UNICODE_STRING
*
,
PDRIVER_INITIALIZE
);
NTSTATUS
WINAPI
IoCreateDriver
(
UNICODE_STRING
*
,
PDRIVER_INITIALIZE
);
NTSTATUS
WINAPI
IoCreateSymbolicLink
(
UNICODE_STRING
*
,
UNICODE_STRING
*
);
NTSTATUS
WINAPI
IoCreateSymbolicLink
(
UNICODE_STRING
*
,
UNICODE_STRING
*
);
void
WINAPI
IoDeleteDevice
(
DEVICE_OBJECT
*
);
void
WINAPI
IoDeleteDevice
(
DEVICE_OBJECT
*
);
void
WINAPI
IoDeleteDriver
(
DRIVER_OBJECT
*
);
void
WINAPI
IoDeleteDriver
(
DRIVER_OBJECT
*
);
NTSTATUS
WINAPI
IoDeleteSymbolicLink
(
UNICODE_STRING
*
);
NTSTATUS
WINAPI
IoDeleteSymbolicLink
(
UNICODE_STRING
*
);
void
WINAPI
IoFreeIrp
(
IRP
*
);
PEPROCESS
WINAPI
IoGetCurrentProcess
(
void
);
PEPROCESS
WINAPI
IoGetCurrentProcess
(
void
);
void
WINAPI
IoInitializeIrp
(
IRP
*
,
USHORT
,
CCHAR
);
PKTHREAD
WINAPI
KeGetCurrentThread
(
void
);
PKTHREAD
WINAPI
KeGetCurrentThread
(
void
);
void
WINAPI
KeQuerySystemTime
(
LARGE_INTEGER
*
);
void
WINAPI
KeQuerySystemTime
(
LARGE_INTEGER
*
);
...
...
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