advpack: add two missing stubs
Robert Reif
reif at earthlink.net
Mon Jan 10 18:59:57 CST 2005
Robert Reif wrote:
> Add stubs for NeedReboot and NeedRebootInit.
>
without FIXME bug
-------------- next part --------------
Index: dlls/advpack/advpack.c
===================================================================
RCS file: /home/wine/wine/dlls/advpack/advpack.c,v
retrieving revision 1.6
diff -u -r1.6 advpack.c
--- dlls/advpack/advpack.c 15 Dec 2004 10:52:57 -0000 1.6
+++ dlls/advpack/advpack.c 11 Jan 2005 00:57:39 -0000
@@ -96,3 +96,28 @@
return ret;
}
+
+/***********************************************************************
+ * NeedRebootInit (ADVPACK.@)
+ */
+DWORD WINAPI NeedRebootInit(VOID)
+{
+ FIXME("() stub!\n");
+
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+
+ return 0;
+}
+
+/***********************************************************************
+ * NeedReboot (ADVPACK.@)
+ */
+
+BOOL WINAPI NeedReboot(DWORD dwRebootCheck)
+{
+ FIXME("(0x%08lx) stub!\n", dwRebootCheck);
+
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+
+ return FALSE;
+}
Index: dlls/advpack/advpack.spec
===================================================================
RCS file: /home/wine/wine/dlls/advpack/advpack.spec,v
retrieving revision 1.4
diff -u -r1.4 advpack.spec
--- dlls/advpack/advpack.spec 15 Dec 2004 10:52:57 -0000 1.4
+++ dlls/advpack/advpack.spec 11 Jan 2005 00:57:39 -0000
@@ -15,8 +15,8 @@
@ stub IsNTAdmin
@ stdcall LaunchINFSection(ptr ptr str long)
@ stdcall LaunchINFSectionEx(ptr ptr str long)
-@ stub NeedReboot
-@ stub NeedRebootInit
+@ stdcall NeedReboot(long)
+@ stdcall NeedRebootInit()
@ stub OpenINFEngine
@ stub RebootCheckOnInstall
@ stdcall RegInstall(ptr str ptr)
More information about the wine-devel
mailing list