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
6c7ff616
Commit
6c7ff616
authored
Nov 14, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Added stubs for NtGetWriteWatch and NtResetWriteWatch.
parent
62a0bd65
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
5 deletions
+30
-5
ntdll.spec
dlls/ntdll/ntdll.spec
+4
-4
virtual.c
dlls/ntdll/virtual.c
+24
-1
winternl.h
include/winternl.h
+2
-0
No files found.
dlls/ntdll/ntdll.spec
View file @
6c7ff616
...
...
@@ -178,7 +178,7 @@
# @ stub NtGetDevicePowerState
@ stub NtGetPlugPlayEvent
@ stdcall NtGetTickCount()
# @ stub NtGetWriteWatch
@ stdcall NtGetWriteWatch(long long ptr long ptr ptr ptr)
@ stub NtImpersonateAnonymousToken
@ stub NtImpersonateClientOfPort
@ stub NtImpersonateThread
...
...
@@ -298,7 +298,7 @@
@ stdcall NtRequestWaitReplyPort(ptr ptr ptr)
# @ stub NtRequestWakeupLatency
@ stdcall NtResetEvent(long ptr)
# @ stub NtResetWriteWatch
@ stdcall NtResetWriteWatch(long ptr long)
@ stdcall NtRestoreKey(long long long)
# @ stub NtResumeProcess
@ stdcall NtResumeThread(long long)
...
...
@@ -1022,7 +1022,7 @@
# @ stub ZwGetDevicePowerState
@ stub ZwGetPlugPlayEvent
@ stdcall ZwGetTickCount() NtGetTickCount
# @ stub Zw
GetWriteWatch
@ stdcall ZwGetWriteWatch(long long ptr long ptr ptr ptr) Nt
GetWriteWatch
# @ stub ZwImpersonateAnonymousToken
@ stub ZwImpersonateClientOfPort
@ stub ZwImpersonateThread
...
...
@@ -1142,7 +1142,7 @@
@ stdcall ZwRequestWaitReplyPort(ptr ptr ptr) NtRequestWaitReplyPort
# @ stub ZwRequestWakeupLatency
@ stdcall ZwResetEvent(long ptr) NtResetEvent
# @ stub Zw
ResetWriteWatch
@ stdcall ZwResetWriteWatch(long ptr long) Nt
ResetWriteWatch
@ stdcall ZwRestoreKey(long long long) NtRestoreKey
# @ stub ZwResumeProcess
@ stdcall ZwResumeThread(long long) NtResumeThread
...
...
dlls/ntdll/virtual.c
View file @
6c7ff616
...
...
@@ -1551,7 +1551,7 @@ NTSTATUS WINAPI NtAllocateVirtualMemory( HANDLE process, PVOID *ret, ULONG zero_
if
(
type
&
MEM_WRITE_WATCH
)
{
FIXME
(
"MEM_WRITE_WATCH type not supported
\n
"
);
return
STATUS_
NOT_SUPPORTED
;
return
STATUS_
INVALID_PARAMETER
;
}
}
vprot
=
VIRTUAL_GetProt
(
protect
)
|
VPROT_VALLOC
;
...
...
@@ -2347,6 +2347,29 @@ NTSTATUS WINAPI NtFlushVirtualMemory( HANDLE process, LPCVOID *addr_ptr,
/***********************************************************************
* NtGetWriteWatch (NTDLL.@)
* ZwGetWriteWatch (NTDLL.@)
*/
NTSTATUS
WINAPI
NtGetWriteWatch
(
HANDLE
process
,
ULONG
flags
,
PVOID
base
,
SIZE_T
size
,
PVOID
*
addresses
,
ULONG_PTR
*
count
,
ULONG
*
granularity
)
{
FIXME
(
"%p %x %p-%p %p %lu
\n
"
,
process
,
flags
,
base
,
(
char
*
)
base
+
size
,
addresses
,
*
count
);
return
STATUS_NOT_IMPLEMENTED
;
}
/***********************************************************************
* NtResetWriteWatch (NTDLL.@)
* ZwResetWriteWatch (NTDLL.@)
*/
NTSTATUS
WINAPI
NtResetWriteWatch
(
HANDLE
process
,
PVOID
base
,
SIZE_T
size
)
{
FIXME
(
"%p %p-%p
\n
"
,
process
,
base
,
(
char
*
)
base
+
size
);
return
STATUS_NOT_IMPLEMENTED
;
}
/***********************************************************************
* NtReadVirtualMemory (NTDLL.@)
* ZwReadVirtualMemory (NTDLL.@)
*/
...
...
include/winternl.h
View file @
6c7ff616
...
...
@@ -1920,6 +1920,7 @@ NTSYSAPI NTSTATUS WINAPI NtFsControlFile(HANDLE,HANDLE,PIO_APC_ROUTINE,PVOID,PI
NTSYSAPI
NTSTATUS
WINAPI
NtGetContextThread
(
HANDLE
,
CONTEXT
*
);
NTSYSAPI
NTSTATUS
WINAPI
NtGetPlugPlayEvent
(
ULONG
,
ULONG
,
PVOID
,
ULONG
);
NTSYSAPI
ULONG
WINAPI
NtGetTickCount
(
VOID
);
NTSYSAPI
NTSTATUS
WINAPI
NtGetWriteWatch
(
HANDLE
,
ULONG
,
PVOID
,
SIZE_T
,
PVOID
*
,
ULONG_PTR
*
,
ULONG
*
);
NTSYSAPI
NTSTATUS
WINAPI
NtImpersonateAnonymousToken
(
HANDLE
);
NTSYSAPI
NTSTATUS
WINAPI
NtImpersonateClientOfPort
(
HANDLE
,
PPORT_MESSAGE
);
NTSYSAPI
NTSTATUS
WINAPI
NtImpersonateThread
(
HANDLE
,
HANDLE
,
PSECURITY_QUALITY_OF_SERVICE
);
...
...
@@ -2015,6 +2016,7 @@ NTSYSAPI NTSTATUS WINAPI NtReplyWaitReplyPort(HANDLE,PLPC_MESSAGE);
NTSYSAPI
NTSTATUS
WINAPI
NtRequestPort
(
HANDLE
,
PLPC_MESSAGE
);
NTSYSAPI
NTSTATUS
WINAPI
NtRequestWaitReplyPort
(
HANDLE
,
PLPC_MESSAGE
,
PLPC_MESSAGE
);
NTSYSAPI
NTSTATUS
WINAPI
NtResetEvent
(
HANDLE
,
PULONG
);
NTSYSAPI
NTSTATUS
WINAPI
NtResetWriteWatch
(
HANDLE
,
PVOID
,
SIZE_T
);
NTSYSAPI
NTSTATUS
WINAPI
NtRestoreKey
(
HANDLE
,
HANDLE
,
ULONG
);
NTSYSAPI
NTSTATUS
WINAPI
NtResumeThread
(
HANDLE
,
PULONG
);
NTSYSAPI
NTSTATUS
WINAPI
NtSaveKey
(
HANDLE
,
HANDLE
);
...
...
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