add QueryServiceConfig2W stub to get ros-msconfig working again
Modified: trunk/reactos/lib/advapi32/advapi32.def
Modified: trunk/reactos/lib/advapi32/service/scm.c

Modified: trunk/reactos/lib/advapi32/advapi32.def
--- trunk/reactos/lib/advapi32/advapi32.def	2005-12-10 14:36:39 UTC (rev 20035)
+++ trunk/reactos/lib/advapi32/advapi32.def	2005-12-10 15:40:52 UTC (rev 20036)
@@ -449,8 +449,8 @@
 ;QueryAllTracesA
 ;QueryAllTracesW
 QueryRecoveryAgentsOnEncryptedFile@8
-;QueryServiceConfig2A
-;QueryServiceConfig2W
+;QueryServiceConfig2A@20
+QueryServiceConfig2W@20
 QueryServiceConfigA@16
 QueryServiceConfigW@16
 QueryServiceLockStatusA@16

Modified: trunk/reactos/lib/advapi32/service/scm.c
--- trunk/reactos/lib/advapi32/service/scm.c	2005-12-10 14:36:39 UTC (rev 20035)
+++ trunk/reactos/lib/advapi32/service/scm.c	2005-12-10 15:40:52 UTC (rev 20036)
@@ -1031,7 +1031,26 @@
     }
 }
 
+/**********************************************************************
+ *  QueryServiceConfig2W
+ *
+ * @unimplemented
+ */
+BOOL
+STDCALL
+QueryServiceConfig2W
+(
+    SC_HANDLE       hService,
+    DWORD           dwInfo,
+    LPBYTE          lpBuffer,
+    DWORD           cbBufSize,
+    LPDWORD         pcbBytesNeeded)
+{
+    DPRINT1("QueryServiceConfigW2 is unimplemented\n");
+    return FALSE;
+}
 
+
 /**********************************************************************
  *  QueryServiceLockStatusA
  *