Add some prototypes to include/ for already existing functions in

netapi32.
This commit is contained in:
Vincent Béron 2005-11-30 12:04:18 +01:00 committed by Alexandre Julliard
parent 74ce0d363a
commit 74a4e59aad
5 changed files with 18 additions and 12 deletions

View File

@ -19,6 +19,7 @@
#include "config.h"
#include "wine/debug.h"
#include "lm.h"
#include "netbios.h"
WINE_DEFAULT_DEBUG_CHANNEL(netbios);

View File

@ -29,5 +29,6 @@
#include <lmapibuf.h>
#include <lmstats.h>
#include <lmjoin.h>
#include <lmserver.h>
#endif

View File

@ -403,13 +403,15 @@ typedef struct _NET_DISPLAY_GROUP {
DWORD grpi3_next_index;
} NET_DISPLAY_GROUP, *PNET_DISPLAY_GROUP;
NET_API_STATUS WINAPI NetUserGetInfo(LPCWSTR servername, LPCWSTR username,
DWORD level, LPBYTE* bufptr);
NET_API_STATUS WINAPI NetQueryDisplayInformation(
LPCWSTR ServerName, DWORD Level, DWORD Index, DWORD EntriesRequested,
DWORD PreferredMaximumLength, LPDWORD ReturnedEntryCount,
PVOID *SortedBuffer);
NET_API_STATUS WINAPI NetGetDCName(LPCWSTR,LPCWSTR,LPBYTE*);
NET_API_STATUS WINAPI NetLocalGroupAdd(LPCWSTR,DWORD,LPBYTE,LPDWORD);
NET_API_STATUS WINAPI NetLocalGroupSetMembers(LPCWSTR,LPCWSTR,DWORD,LPBYTE,DWORD);
NET_API_STATUS WINAPI NetQueryDisplayInformation(LPCWSTR,DWORD,DWORD,DWORD,DWORD,LPDWORD,PVOID*);
NET_API_STATUS WINAPI NetUserAdd(LPCWSTR,DWORD,LPBYTE,LPDWORD);
NET_API_STATUS WINAPI NetUserDel(LPCWSTR,LPCWSTR);
NET_API_STATUS WINAPI NetUserEnum(LPCWSTR,DWORD,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD,LPDWORD);
NET_API_STATUS WINAPI NetUserGetInfo(LPCWSTR,LPCWSTR,DWORD,LPBYTE*);
NET_API_STATUS WINAPI NetUserModalsGet(LPCWSTR,DWORD,LPBYTE*);
#ifdef __cplusplus
}

View File

@ -18,6 +18,8 @@
#ifndef _LMSERVER_
#define _LMSERVER_
#include <winsvc.h>
#ifdef __cplusplus
extern "C" {
#endif
@ -36,9 +38,8 @@ typedef struct _SERVER_INFO_101 {
LMSTR sv101_comment;
} SERVER_INFO_101, *PSERVER_INFO_101, *LPSERVER_INFO_101;
NET_API_STATUS WINAPI NetServerEnum(LMCSTR servername, DWORD level,
LPBYTE *bufptr, DWORD prefmaxlen, LPDWORD entriesread, LPDWORD totalentries,
DWORD servertype, LMCSTR domain, LPDWORD resume_handle);
NET_API_STATUS WINAPI NetServerEnum(LPCWSTR,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD,DWORD,LPCWSTR,LPDWORD);
NET_API_STATUS WINAPI NetServerGetInfo(LMSTR,DWORD,LPBYTE*);
BOOL WINAPI SetServiceBits(SERVICE_STATUS_HANDLE,DWORD,BOOL,BOOL);
#define SV_TYPE_WORKSTATION 0x00000001

View File

@ -76,8 +76,9 @@ typedef struct _WKSTA_INFO_102 {
} WKSTA_INFO_102, *PWKSTA_INFO_102, *LPWKSTA_INFO_102;
/* workstation */
NET_API_STATUS WINAPI NetWkstaUserGetInfo(LPWSTR reserved, DWORD level, PBYTE* bufptr);
NET_API_STATUS WINAPI NetWkstaGetInfo(LPWSTR servername, DWORD level, PBYTE *bufptr);
NET_API_STATUS WINAPI NetWkstaGetInfo(LPWSTR,DWORD,LPBYTE*);
NET_API_STATUS NET_API_FUNCTION NetWkstaTransportEnum(LPWSTR,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD,LPDWORD);
NET_API_STATUS WINAPI NetWkstaUserGetInfo(LPWSTR,DWORD,LPBYTE*);
#ifdef __cplusplus
}