diff --git a/dlls/netapi32/netapi32.spec b/dlls/netapi32/netapi32.spec index a43703f0185..9a8025223b7 100644 --- a/dlls/netapi32/netapi32.spec +++ b/dlls/netapi32/netapi32.spec @@ -188,7 +188,7 @@ @ stub NetSessionDel @ stdcall NetSessionEnum(wstr wstr wstr long ptr long ptr ptr ptr) @ stub NetSessionGetInfo -@ stub NetShareAdd +@ stdcall NetShareAdd(wstr long ptr ptr) @ stub NetShareCheck @ stdcall NetShareDel(wstr wstr long) @ stub NetShareDelSticky diff --git a/dlls/netapi32/share.c b/dlls/netapi32/share.c index 03f92bbb74c..f19f7324e09 100644 --- a/dlls/netapi32/share.c +++ b/dlls/netapi32/share.c @@ -103,3 +103,13 @@ NET_API_STATUS WINAPI NetShareGetInfo(LMSTR servername, LMSTR netname, debugstr_w(netname),level, bufptr); return NERR_NetNameNotFound; } + +/************************************************************ + * NetShareAdd (NETAPI32.@) + */ +NET_API_STATUS WINAPI NetShareAdd(LMSTR servername, + DWORD level, LPBYTE buf, LPDWORD parm_err) +{ + FIXME("Stub (%s %d %p %p)\n", debugstr_w(servername), level, buf, parm_err); + return ERROR_NOT_SUPPORTED; +}