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

This commit is contained in:
Paul Vriens 2006-04-07 15:59:45 +02:00 committed by Alexandre Julliard
parent d7199a4836
commit a233d55dbd
2 changed files with 27 additions and 11 deletions

View File

@ -49,14 +49,3 @@ NET_API_STATUS WINAPI I_BrowserQueryEmulatedDomains(
{
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;
}

View File

@ -17,6 +17,7 @@
#include "wine/debug.h"
#include "lm.h"
#include "winerror.h"
WINE_DEFAULT_DEBUG_CHANNEL(share);
@ -56,3 +57,29 @@ NET_API_STATUS WINAPI NetSessionEnum(LPWSTR servername, LPWSTR UncClientName,
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;
}