Commit a233d55d authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

netapi32: Move NetShareEnum from browsr.c to share.c.

parent d7199a48
...@@ -49,14 +49,3 @@ NET_API_STATUS WINAPI I_BrowserQueryEmulatedDomains( ...@@ -49,14 +49,3 @@ NET_API_STATUS WINAPI I_BrowserQueryEmulatedDomains(
{ {
return ERROR_NOT_SUPPORTED; return ERROR_NOT_SUPPORTED;
} }
/************************************************************
* NetShareEnum (NETAPI32.@)
*/
NET_API_STATUS WINAPI NetShareEnum( LPWSTR servername, DWORD level, LPBYTE* bufptr,
DWORD prefmaxlen, LPDWORD entriesread, LPDWORD totalentries, LPDWORD resume_handle)
{
FIXME("%s %ld %p %ld %p %p %p\n", debugstr_w(servername), level, bufptr,
prefmaxlen, entriesread, totalentries, resume_handle);
return ERROR_NOT_SUPPORTED;
}
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
#include "wine/debug.h" #include "wine/debug.h"
#include "lm.h" #include "lm.h"
#include "winerror.h"
WINE_DEFAULT_DEBUG_CHANNEL(share); WINE_DEFAULT_DEBUG_CHANNEL(share);
...@@ -56,3 +57,29 @@ NET_API_STATUS WINAPI NetSessionEnum(LPWSTR servername, LPWSTR UncClientName, ...@@ -56,3 +57,29 @@ NET_API_STATUS WINAPI NetSessionEnum(LPWSTR servername, LPWSTR UncClientName,
return NERR_Success; return NERR_Success;
} }
/************************************************************
* NetShareEnum (NETAPI32.@)
*
* PARAMS
* servername [I] Pointer to a string with the name of the server
* level [I] Data information level
* bufptr [O] Buffer to the data
* prefmaxlen [I] Preferred maximum length of the data
* entriesread [O] Pointer to the number of entries enumerated
* totalentries [O] Pointer to the possible number of entries
* resume_handle [I/O] Pointer to a handle for subsequent searches
*
* RETURNS
* If successful, the function returns NERR_Success
* On failure it returns a system error code (FIXME: find out which)
*
*/
NET_API_STATUS WINAPI NetShareEnum( LPWSTR servername, DWORD level, LPBYTE* bufptr,
DWORD prefmaxlen, LPDWORD entriesread, LPDWORD totalentries, LPDWORD resume_handle)
{
FIXME("Stub (%s %ld %p %ld %p %p %p)\n", debugstr_w(servername), level, bufptr,
prefmaxlen, entriesread, totalentries, resume_handle);
return ERROR_NOT_SUPPORTED;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment