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
bfef6208
Commit
bfef6208
authored
Jan 24, 2005
by
Ivan Leo Puoti
Committed by
Alexandre Julliard
Jan 24, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added NtLoadDriver and NtUnloadDriver stubs.
parent
52140fae
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
4 deletions
+28
-4
loader.c
dlls/ntdll/loader.c
+22
-0
ntdll.spec
dlls/ntdll/ntdll.spec
+4
-4
winternl.h
include/winternl.h
+2
-0
No files found.
dlls/ntdll/loader.c
View file @
bfef6208
...
...
@@ -2071,6 +2071,28 @@ PVOID WINAPI RtlImageRvaToVa( const IMAGE_NT_HEADERS *nt, HMODULE module,
}
/***********************************************************************
* NtLoadDriver (NTDLL.@)
* ZwLoadDriver (NTDLL.@)
*/
NTSTATUS
WINAPI
NtLoadDriver
(
const
UNICODE_STRING
*
DriverServiceName
)
{
FIXME
(
"(%p), stub!
\n
"
,
DriverServiceName
);
return
STATUS_NOT_IMPLEMENTED
;
}
/***********************************************************************
* NtUnloadDriver (NTDLL.@)
* ZwUnloadDriver (NTDLL.@)
*/
NTSTATUS
WINAPI
NtUnloadDriver
(
const
UNICODE_STRING
*
DriverServiceName
)
{
FIXME
(
"(%p), stub!
\n
"
,
DriverServiceName
);
return
STATUS_NOT_IMPLEMENTED
;
}
/******************************************************************
* __wine_init_windows_dir (NTDLL.@)
*
...
...
dlls/ntdll/ntdll.spec
View file @
bfef6208
...
...
@@ -129,7 +129,7 @@
@ stub NtImpersonateThread
@ stub NtInitializeRegistry
@ stdcall NtListenPort(ptr ptr)
@ st
ub NtLoadDriver
@ st
dcall NtLoadDriver(ptr)
@ stdcall NtLoadKey(ptr ptr)
@ stdcall NtLockFile(long long ptr ptr ptr ptr ptr ptr long long)
@ stdcall NtLockVirtualMemory(long ptr ptr long)
...
...
@@ -254,7 +254,7 @@
@ stdcall NtTerminateProcess(long long)
@ stdcall NtTerminateThread(long long)
@ stub NtTestAlert
@ st
ub NtUnloadDriver
@ st
dcall NtUnloadDriver(ptr)
@ stdcall NtUnloadKey(long)
@ stub NtUnloadKeyEx
@ stdcall NtUnlockFile(long ptr ptr ptr ptr)
...
...
@@ -719,7 +719,7 @@
@ stub ZwImpersonateThread
@ stub ZwInitializeRegistry
@ stdcall ZwListenPort(ptr ptr) NtListenPort
@ st
ub Zw
LoadDriver
@ st
dcall ZwLoadDriver(ptr) Nt
LoadDriver
@ stdcall ZwLoadKey(ptr ptr) NtLoadKey
@ stdcall ZwLockFile(long long ptr ptr ptr ptr ptr ptr long long) NtLockFile
@ stdcall ZwLockVirtualMemory(long ptr ptr long) NtLockVirtualMemory
...
...
@@ -840,7 +840,7 @@
@ stdcall ZwTerminateProcess(long long) NtTerminateProcess
@ stdcall ZwTerminateThread(long long) NtTerminateThread
@ stub ZwTestAlert
@ st
ub Zw
UnloadDriver
@ st
dcall ZwUnloadDriver(ptr) Nt
UnloadDriver
@ stdcall ZwUnloadKey(long) NtUnloadKey
@ stub ZwUnloadKeyEx
@ stdcall ZwUnlockFile(long ptr ptr ptr ptr) NtUnlockFile
...
...
include/winternl.h
View file @
bfef6208
...
...
@@ -1378,6 +1378,7 @@ NTSTATUS WINAPI NtGetContextThread(HANDLE,CONTEXT*);
NTSTATUS
WINAPI
NtImpersonateAnonymousToken
(
HANDLE
);
NTSTATUS
WINAPI
NtImpersonateClientOfPort
(
HANDLE
,
PPORT_MESSAGE
);
NTSTATUS
WINAPI
NtImpersonateThread
(
HANDLE
,
HANDLE
,
PSECURITY_QUALITY_OF_SERVICE
);
NTSTATUS
WINAPI
NtLoadDriver
(
const
UNICODE_STRING
*
);
NTSTATUS
WINAPI
NtLoadKey
(
const
OBJECT_ATTRIBUTES
*
,
const
OBJECT_ATTRIBUTES
*
);
NTSTATUS
WINAPI
NtLockFile
(
HANDLE
,
HANDLE
,
PIO_APC_ROUTINE
,
void
*
,
PIO_STATUS_BLOCK
,
PLARGE_INTEGER
,
PLARGE_INTEGER
,
ULONG
*
,
BOOLEAN
,
BOOLEAN
);
NTSTATUS
WINAPI
NtLockVirtualMemory
(
HANDLE
,
PVOID
*
,
ULONG
*
,
ULONG
);
...
...
@@ -1447,6 +1448,7 @@ NTSTATUS WINAPI NtSetValueKey(HKEY,const UNICODE_STRING *,ULONG,ULONG,const voi
NTSTATUS
WINAPI
NtSuspendThread
(
HANDLE
,
PULONG
);
NTSTATUS
WINAPI
NtTerminateProcess
(
HANDLE
,
LONG
);
NTSTATUS
WINAPI
NtTerminateThread
(
HANDLE
,
LONG
);
NTSTATUS
WINAPI
NtUnloadDriver
(
const
UNICODE_STRING
*
);
NTSTATUS
WINAPI
NtUnloadKey
(
HKEY
);
NTSTATUS
WINAPI
NtUnlockFile
(
HANDLE
,
PIO_STATUS_BLOCK
,
PLARGE_INTEGER
,
PLARGE_INTEGER
,
PULONG
);
NTSTATUS
WINAPI
NtUnlockVirtualMemory
(
HANDLE
,
PVOID
*
,
ULONG
*
,
ULONG
);
...
...
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