mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 18:13:38 +00:00
wow64: Add thunks for the registry notification syscalls.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ba74c5c698
commit
dce59f595b
|
@ -182,6 +182,62 @@ NTSTATUS WINAPI wow64_NtLoadKey2( UINT *args )
|
|||
}
|
||||
|
||||
|
||||
/**********************************************************************
|
||||
* wow64_NtNotifyChangeKey
|
||||
*/
|
||||
NTSTATUS WINAPI wow64_NtNotifyChangeKey( UINT *args )
|
||||
{
|
||||
HANDLE handle = get_handle( &args );
|
||||
HANDLE event = get_handle( &args );
|
||||
ULONG apc = get_ulong( &args );
|
||||
ULONG apc_param = get_ulong( &args );
|
||||
IO_STATUS_BLOCK32 *io32 = get_ptr( &args );
|
||||
ULONG filter = get_ulong( &args );
|
||||
BOOLEAN subtree = get_ulong( &args );
|
||||
void *buffer = get_ptr( &args );
|
||||
ULONG len = get_ulong( &args );
|
||||
BOOLEAN async = get_ulong( &args );
|
||||
|
||||
IO_STATUS_BLOCK io;
|
||||
NTSTATUS status;
|
||||
|
||||
status = NtNotifyChangeKey( handle, event, apc_32to64( apc ), apc_param_32to64( apc, apc_param ),
|
||||
iosb_32to64( &io, io32 ), filter, subtree, buffer, len, async );
|
||||
put_iosb( io32, &io );
|
||||
return status;
|
||||
}
|
||||
|
||||
|
||||
/**********************************************************************
|
||||
* wow64_NtNotifyChangeMultipleKeys
|
||||
*/
|
||||
NTSTATUS WINAPI wow64_NtNotifyChangeMultipleKeys( UINT *args )
|
||||
{
|
||||
HANDLE handle = get_handle( &args );
|
||||
ULONG count = get_ulong( &args );
|
||||
OBJECT_ATTRIBUTES32 *attr32 = get_ptr( &args );
|
||||
HANDLE event = get_handle( &args );
|
||||
ULONG apc = get_ulong( &args );
|
||||
ULONG apc_param = get_ulong( &args );
|
||||
IO_STATUS_BLOCK32 *io32 = get_ptr( &args );
|
||||
ULONG filter = get_ulong( &args );
|
||||
BOOLEAN subtree = get_ulong( &args );
|
||||
void *buffer = get_ptr( &args );
|
||||
ULONG len = get_ulong( &args );
|
||||
BOOLEAN async = get_ulong( &args );
|
||||
|
||||
struct object_attr64 attr;
|
||||
IO_STATUS_BLOCK io;
|
||||
NTSTATUS status;
|
||||
|
||||
status = NtNotifyChangeMultipleKeys( handle, count, objattr_32to64( &attr, attr32 ), event,
|
||||
apc_32to64( apc ), apc_param_32to64( apc, apc_param ),
|
||||
iosb_32to64( &io, io32 ), filter, subtree, buffer, len, async );
|
||||
put_iosb( io32, &io );
|
||||
return status;
|
||||
}
|
||||
|
||||
|
||||
/**********************************************************************
|
||||
* wow64_NtOpenKey
|
||||
*/
|
||||
|
|
|
@ -92,6 +92,8 @@
|
|||
SYSCALL_ENTRY( NtMakeTemporaryObject ) \
|
||||
SYSCALL_ENTRY( NtMapViewOfSection ) \
|
||||
SYSCALL_ENTRY( NtNotifyChangeDirectoryFile ) \
|
||||
SYSCALL_ENTRY( NtNotifyChangeKey ) \
|
||||
SYSCALL_ENTRY( NtNotifyChangeMultipleKeys ) \
|
||||
SYSCALL_ENTRY( NtOpenDirectoryObject ) \
|
||||
SYSCALL_ENTRY( NtOpenEvent ) \
|
||||
SYSCALL_ENTRY( NtOpenFile ) \
|
||||
|
|
Loading…
Reference in a new issue