[1/2] netapi32: Added partial implementation of NetShareAdd

Juan Lang juan.lang at gmail.com
Sat Aug 2 13:16:53 CDT 2008


Hi Vitaliy, overall your patch looks pretty good.  A few minor points:

+    FIXME("(%s %d %p) partially implemented\n",
debugstr_w(servername), level, buf);
Because you add a more specific FIXME for every unimplemented path, it
seems to me this would be better as a TRACE.

+    result = RegCreateKeyExA(HKEY_LOCAL_MACHINE, regKey, 0, NULL, 0, KEY_WRITE,
+                NULL, &hKey, &disposition);
+    if (result != ERROR_SUCCESS)
+    {
+        FIXME("Unable to open/create key 'HKLM\\%s'\n", regKey);
+        return result;
This shouldn't be a FIXME, as there's nothing to "fix" in the code:
if the key couldn't be created, there's a setup problem or some other
unrecoverable error.  A TRACE is fine.

+    /* FIXME: A duplicate patch checking should be implemented here */
Do you mean a duplicate path?

--Juan



More information about the wine-devel mailing list