79589: netapi32: add stub for NetScheduleJobEnum

buildbot at kegel.com buildbot at kegel.com
Wed Oct 5 13:41:13 CDT 2011


This is an experimental automated build and test service.
Please feel free to ignore this email while we work the kinks out.

For more info about this message, see http://wiki.winehq.org/BuildBot

The Buildbot has detected a failed build on builder runtests-default while building Wine.
Full details are available at: http://buildbot.kegel.com/builders/runtests-default/builds/134 (though maybe not for long, as I'm still reinstalling the buildbot periodically while experimenting)
BUILD FAILED: failed shell_2

Errors:
netapi32.c:23: error: lmat.h: No such file or directory
make[1]: *** [depend] Error 1
make: *** [dlls/netapi32/__depend__] Error 2

-------------- next part --------------
From: Louis Lenders <xerox_xerox2000 at yahoo.co.uk>
Subject: netapi32: add stub for NetScheduleJobEnum
Message-Id: <1317839731.95111.YahooMailNeo at web24820.mail.ird.yahoo.com>
Date: Wed, 5 Oct 2011 19:35:31 +0100 (BST)

this fixes a crash in app SysIsdpector (http://download.eset.com/download/sysinspector/32/ENU/SysInspector.exe)

From bf8e08a130561f69c1f417379b5fe9c0691b04f0 Mon Sep 17 00:00:00 2001
From: Louis Lenders <xerox_xerox2000 at yahoo.co.uk>
Date: Wed, 5 Oct 2011 20:28:19 +0200
Subject: netapi32: add stub for NetScheduleJobEnum

---
 dlls/netapi32/netapi32.c    |   10 ++++++++++
 dlls/netapi32/netapi32.spec |    2 +-
 2 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/dlls/netapi32/netapi32.c b/dlls/netapi32/netapi32.c
index fafce6b..a8ba41a 100644
--- a/dlls/netapi32/netapi32.c
+++ b/dlls/netapi32/netapi32.c
@@ -20,6 +20,7 @@
 
 #include "wine/debug.h"
 #include "lm.h"
+#include "lmat.h"
 #include "netbios.h"
 
 WINE_DEFAULT_DEBUG_CHANNEL(netbios);
@@ -236,3 +237,12 @@ NET_API_STATUS WINAPI NetUseEnum(LMSTR server, DWORD level, LPBYTE* bufptr, DWOR
            entriesread, totalentries, resumehandle);
     return ERROR_NOT_SUPPORTED;
 }
+
+NET_API_STATUS WINAPI NetScheduleJobEnum(LPCWSTR server, LPBYTE* bufptr, DWORD prefmaxsize, LPDWORD entriesread,
+                                         LPDWORD totalentries, LPDWORD resumehandle)
+{
+    FIXME("stub (%s, %p, %d, %p, %p, %p)\n", debugstr_w(server), bufptr, prefmaxsize, entriesread, totalentries, resumehandle);
+    *entriesread = 0;
+    *totalentries = 0;
+    return NERR_Success;
+}
diff --git a/dlls/netapi32/netapi32.spec b/dlls/netapi32/netapi32.spec
index 28d6427..be62a6f 100644
--- a/dlls/netapi32/netapi32.spec
+++ b/dlls/netapi32/netapi32.spec
@@ -168,7 +168,7 @@
 @ stub NetRplWkstaSetInfo
 @ stub NetScheduleJobAdd
 @ stub NetScheduleJobDel
-@ stub NetScheduleJobEnum
+@ stdcall NetScheduleJobEnum(wstr ptr long ptr ptr ptr)
 @ stub NetScheduleJobGetInfo
 @ stub NetServerComputerNameAdd
 @ stub NetServerComputerNameDel
-- 
1.7.4.1



More information about the wine-tests-results mailing list