CVS: winex/dlls/ntdll reg.c,1.6,1.7
[email protected] 31 Jul 2007 19:57:49 -0000
| Newsgroups | gmane.comp.emulators.winex.cvs |
|---|---|
| Message-ID | <[email protected]> |
Subject: winex/dlls/ntdll reg.c,1.6,1.7Update of /var/lib/cvsd/cvsroot/winex/dlls/ntdll
In directory agravaine:/tmp/cvs-serv1992/dlls/ntdll
Modified Files:
reg.c
Log Message:
Implement RegFlushKey.
Do some minor cleanups of duplicated functions.
Index: reg.c
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/dlls/ntdll/reg.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- reg.c 9 Jan 2006 18:27:15 -0000 1.6
+++ reg.c 31 Jul 2007 19:57:47 -0000 1.7
@@ -3,6 +3,7 @@
*
* Copyright (C) 1999 Juergen Schmied
* Copyright (C) 2000 Alexandre Julliard
+ * Copyright (C) 2007 TransGaming Technologies
*
* NOTES:
* HKEY_LOCAL_MACHINE \\REGISTRY\\MACHINE
@@ -405,9 +406,17 @@
*/
NTSTATUS WINAPI NtFlushKey(HANDLE KeyHandle)
{
- FIXME("(0x%08x) stub!\n",
- KeyHandle);
- return 1;
+ NTSTATUS ret;
+
+ TRACE ("(%x)\n", KeyHandle);
+
+ SERVER_START_REQ (flush_key)
+ {
+ req->hkey = KeyHandle;
+ ret = wine_server_call (req);
+ }
+ SERVER_END_REQ;
+ return ret;
}
/******************************************************************************
@@ -555,8 +564,7 @@
NTSTATUS WINAPI NtUnloadKey(
IN HANDLE KeyHandle)
{
- FIXME("(0x%08x) stub\n",
- KeyHandle);
+ FIXME("(0x%08x) stub\n", KeyHandle);
return STATUS_SUCCESS;
}