Commit 000a5c73 authored by Steven Edwards's avatar Steven Edwards Committed by Alexandre Julliard

Porting Fixes for Mingw/MSVC.

parent 7b6935c2
......@@ -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);
......
......@@ -17,6 +17,9 @@
#ifndef __WINE_NBNAMECACHE_H
#define __WINE_NBNAMECACHE_H
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "nb30.h"
......
......@@ -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)
{
......
......@@ -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;
......
......@@ -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
......
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