Alexandre Julliard : ntdll:
Added a missing chunk in the NtLockVirtualMemory support.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Jan 16 10:07:29 CST 2007
Module: wine
Branch: master
Commit: dad037400395322c4579320d00980f9f8c323694
URL: http://source.winehq.org/git/wine.git/?a=commit;h=dad037400395322c4579320d00980f9f8c323694
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue Jan 16 16:01:28 2007 +0100
ntdll: Added a missing chunk in the NtLockVirtualMemory support.
Thanks to Rob Shearman for noticing this.
---
dlls/ntdll/sync.c | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/dlls/ntdll/sync.c b/dlls/ntdll/sync.c
index eff643e..1778bb2 100644
--- a/dlls/ntdll/sync.c
+++ b/dlls/ntdll/sync.c
@@ -764,6 +764,22 @@ static BOOL call_apcs( BOOL alertable )
&result.virtual_flush.addr,
&result.virtual_flush.size, 0 );
break;
+ case APC_VIRTUAL_LOCK:
+ result.type = call.type;
+ result.virtual_lock.addr = call.virtual_lock.addr;
+ result.virtual_lock.size = call.virtual_lock.size;
+ result.virtual_lock.status = NtLockVirtualMemory( NtCurrentProcess(),
+ &result.virtual_lock.addr,
+ &result.virtual_lock.size, 0 );
+ break;
+ case APC_VIRTUAL_UNLOCK:
+ result.type = call.type;
+ result.virtual_unlock.addr = call.virtual_unlock.addr;
+ result.virtual_unlock.size = call.virtual_unlock.size;
+ result.virtual_unlock.status = NtUnlockVirtualMemory( NtCurrentProcess(),
+ &result.virtual_unlock.addr,
+ &result.virtual_unlock.size, 0 );
+ break;
default:
server_protocol_error( "get_apc_request: bad type %d\n", call.type );
break;
More information about the wine-cvs
mailing list