diff --git a/dlls/netapi32/netapi32.c b/dlls/netapi32/netapi32.c index fafce6be3d4..a8ba41a39b6 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 28d64278838..be62a6fd5c0 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