Porting Fixes for Mingw/MSVC.

This commit is contained in:
Steven Edwards 2004-02-10 20:09:43 +00:00 committed by Alexandre Julliard
parent 7b6935c2ae
commit 000a5c73ee
5 changed files with 14 additions and 4 deletions

View File

@ -19,7 +19,10 @@
* rather more efficient than not having a name cache at all.
*/
#include "config.h"
#include "wine/port.h"
#include "wine/debug.h"
#include "nbnamecache.h"
WINE_DEFAULT_DEBUG_CHANNEL(netbios);

View File

@ -17,6 +17,9 @@
#ifndef __WINE_NBNAMECACHE_H
#define __WINE_NBNAMECACHE_H
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "nb30.h"

View File

@ -70,7 +70,7 @@ NET_API_STATUS WINAPI NetServerEnum(
/************************************************************
* NetStatisticsGet (NETAPI32.@)
*/
NET_API_STATUS WINAPI NetStatisticsGet(LPWSTR *server, LPWSTR *service,
NET_API_STATUS WINAPI NetStatisticsGet(LPWSTR server, LPWSTR service,
DWORD level, DWORD options,
LPBYTE *bufptr)
{

View File

@ -18,10 +18,14 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "config.h"
#include "wine/port.h"
#include <stdarg.h>
#include <stdlib.h>
#include "windef.h"
#include "winbase.h"
#include "winsock2.h"
#include "nb30.h"
#include "lmcons.h"
#include "lmapibuf.h"
@ -234,9 +238,9 @@ static BOOL WkstaEnumAdaptersCallback(UCHAR totalLANAs, UCHAR lanaIndex,
}
NET_API_STATUS WINAPI
NetWkstaTransportEnum(LPCWSTR ServerName, DWORD level, LPBYTE* pbuf,
NetWkstaTransportEnum(LPWSTR ServerName, DWORD level, PBYTE* pbuf,
DWORD prefmaxlen, LPDWORD read_entries,
LPDWORD total_entries, LPDWORD hresume)
PDWORD total_entries, PDWORD hresume)
{
NET_API_STATUS ret;

View File

@ -88,7 +88,7 @@ typedef struct _STAT_SERVER_0 {
DWORD sts0_bigbufneed;
} STAT_SERVER_0, *PSTAT_SERVER_0, *LPSTAT_SERVER_0;
NET_API_STATUS WINAPI NetStatisticsGet(LPWSTR *server, LPWSTR *service, DWORD level,
NET_API_STATUS WINAPI NetStatisticsGet(LPWSTR server, LPWSTR service, DWORD level,
DWORD options, LPBYTE *bufptr);
#ifdef __cplusplus