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
34c49777
Commit
34c49777
authored
Dec 29, 2011
by
Stefan Leichter
Committed by
Alexandre Julliard
Dec 29, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl.exe: Add stub for IoInitializeRemoveLockEx.
parent
ecbe1ff2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
1 deletion
+39
-1
ntoskrnl.c
dlls/ntoskrnl.exe/ntoskrnl.c
+10
-0
ntoskrnl.exe.spec
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+1
-1
wdm.h
include/ddk/wdm.h
+28
-0
No files found.
dlls/ntoskrnl.exe/ntoskrnl.c
View file @
34c49777
...
...
@@ -1700,6 +1700,16 @@ BOOLEAN WINAPI IoSetThreadHardErrorMode(BOOLEAN EnableHardErrors)
return
FALSE
;
}
/*****************************************************
* IoInitializeRemoveLockEx (NTOSKRNL.EXE.@)
*/
VOID
WINAPI
IoInitializeRemoveLockEx
(
PIO_REMOVE_LOCK
lock
,
ULONG
tag
,
ULONG
maxmin
,
ULONG
high
,
ULONG
size
)
{
FIXME
(
"(%p %u %u %u %u) stub
\n
"
,
lock
,
tag
,
maxmin
,
high
,
size
);
}
/*****************************************************
* DllMain
*/
...
...
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
View file @
34c49777
...
...
@@ -398,7 +398,7 @@
@ stub IoGetStackLimits
@ stub IoGetTopLevelIrp
@ stdcall IoInitializeIrp(ptr long long)
@ st
ub IoInitializeRemoveLockEx
@ st
dcall IoInitializeRemoveLockEx(ptr long long long long)
@ stdcall IoInitializeTimer(ptr ptr ptr)
@ stub IoInvalidateDeviceRelations
@ stub IoInvalidateDeviceState
...
...
include/ddk/wdm.h
View file @
34c49777
...
...
@@ -1065,6 +1065,33 @@ typedef enum _MM_SYSTEM_SIZE
MmLargeSystem
}
MM_SYSTEMSIZE
;
typedef
struct
_IO_REMOVE_LOCK_COMMON_BLOCK
{
BOOLEAN
Removed
;
BOOLEAN
Reserved
[
3
];
LONG
IoCount
;
KEVENT
RemoveEvent
;
}
IO_REMOVE_LOCK_COMMON_BLOCK
;
typedef
struct
_IO_REMOVE_LOCK_TRACKING_BLOCK
*
PIO_REMOVE_LOCK_TRACKING_BLOCK
;
typedef
struct
_IO_REMOVE_LOCK_DBG_BLOCK
{
LONG
Signature
;
LONG
HighWatermark
;
LONGLONG
MaxLockedTicks
;
LONG
AllocateTag
;
LIST_ENTRY
LockList
;
KSPIN_LOCK
Spin
;
LONG
LowMemoryCount
;
ULONG
Reserved1
[
4
];
PVOID
Reserved2
;
PIO_REMOVE_LOCK_TRACKING_BLOCK
Blocks
;
}
IO_REMOVE_LOCK_DBG_BLOCK
;
typedef
struct
_IO_REMOVE_LOCK
{
IO_REMOVE_LOCK_COMMON_BLOCK
Common
;
IO_REMOVE_LOCK_DBG_BLOCK
Dbg
;
}
IO_REMOVE_LOCK
,
*
PIO_REMOVE_LOCK
;
NTSTATUS
WINAPI
ObCloseHandle
(
IN
HANDLE
handle
);
#ifdef NONAMELESSUNION
...
...
@@ -1125,6 +1152,7 @@ NTSTATUS WINAPI IoGetDeviceProperty(PDEVICE_OBJECT,DEVICE_REGISTRY_PROPERTY,ULO
PVOID
WINAPI
IoGetDriverObjectExtension
(
PDRIVER_OBJECT
,
PVOID
);
PDEVICE_OBJECT
WINAPI
IoGetRelatedDeviceObject
(
PFILE_OBJECT
);
void
WINAPI
IoInitializeIrp
(
IRP
*
,
USHORT
,
CCHAR
);
VOID
WINAPI
IoInitializeRemoveLockEx
(
PIO_REMOVE_LOCK
,
ULONG
,
ULONG
,
ULONG
,
ULONG
);
NTSTATUS
WINAPI
IoWMIRegistrationControl
(
PDEVICE_OBJECT
,
ULONG
);
PKTHREAD
WINAPI
KeGetCurrentThread
(
void
);
...
...
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