Add some prototypes to include/ for already existing functions in
netapi32.
This commit is contained in:
parent
74ce0d363a
commit
74a4e59aad
|
@ -19,6 +19,7 @@
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
#include "lm.h"
|
||||||
#include "netbios.h"
|
#include "netbios.h"
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(netbios);
|
WINE_DEFAULT_DEBUG_CHANNEL(netbios);
|
||||||
|
|
|
@ -29,5 +29,6 @@
|
||||||
#include <lmapibuf.h>
|
#include <lmapibuf.h>
|
||||||
#include <lmstats.h>
|
#include <lmstats.h>
|
||||||
#include <lmjoin.h>
|
#include <lmjoin.h>
|
||||||
|
#include <lmserver.h>
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -403,13 +403,15 @@ typedef struct _NET_DISPLAY_GROUP {
|
||||||
DWORD grpi3_next_index;
|
DWORD grpi3_next_index;
|
||||||
} NET_DISPLAY_GROUP, *PNET_DISPLAY_GROUP;
|
} NET_DISPLAY_GROUP, *PNET_DISPLAY_GROUP;
|
||||||
|
|
||||||
NET_API_STATUS WINAPI NetUserGetInfo(LPCWSTR servername, LPCWSTR username,
|
NET_API_STATUS WINAPI NetGetDCName(LPCWSTR,LPCWSTR,LPBYTE*);
|
||||||
DWORD level, LPBYTE* bufptr);
|
NET_API_STATUS WINAPI NetLocalGroupAdd(LPCWSTR,DWORD,LPBYTE,LPDWORD);
|
||||||
|
NET_API_STATUS WINAPI NetLocalGroupSetMembers(LPCWSTR,LPCWSTR,DWORD,LPBYTE,DWORD);
|
||||||
NET_API_STATUS WINAPI NetQueryDisplayInformation(
|
NET_API_STATUS WINAPI NetQueryDisplayInformation(LPCWSTR,DWORD,DWORD,DWORD,DWORD,LPDWORD,PVOID*);
|
||||||
LPCWSTR ServerName, DWORD Level, DWORD Index, DWORD EntriesRequested,
|
NET_API_STATUS WINAPI NetUserAdd(LPCWSTR,DWORD,LPBYTE,LPDWORD);
|
||||||
DWORD PreferredMaximumLength, LPDWORD ReturnedEntryCount,
|
NET_API_STATUS WINAPI NetUserDel(LPCWSTR,LPCWSTR);
|
||||||
PVOID *SortedBuffer);
|
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
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,6 +18,8 @@
|
||||||
#ifndef _LMSERVER_
|
#ifndef _LMSERVER_
|
||||||
#define _LMSERVER_
|
#define _LMSERVER_
|
||||||
|
|
||||||
|
#include <winsvc.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
@ -36,9 +38,8 @@ typedef struct _SERVER_INFO_101 {
|
||||||
LMSTR sv101_comment;
|
LMSTR sv101_comment;
|
||||||
} SERVER_INFO_101, *PSERVER_INFO_101, *LPSERVER_INFO_101;
|
} SERVER_INFO_101, *PSERVER_INFO_101, *LPSERVER_INFO_101;
|
||||||
|
|
||||||
NET_API_STATUS WINAPI NetServerEnum(LMCSTR servername, DWORD level,
|
NET_API_STATUS WINAPI NetServerEnum(LPCWSTR,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD,DWORD,LPCWSTR,LPDWORD);
|
||||||
LPBYTE *bufptr, DWORD prefmaxlen, LPDWORD entriesread, LPDWORD totalentries,
|
NET_API_STATUS WINAPI NetServerGetInfo(LMSTR,DWORD,LPBYTE*);
|
||||||
DWORD servertype, LMCSTR domain, LPDWORD resume_handle);
|
|
||||||
BOOL WINAPI SetServiceBits(SERVICE_STATUS_HANDLE,DWORD,BOOL,BOOL);
|
BOOL WINAPI SetServiceBits(SERVICE_STATUS_HANDLE,DWORD,BOOL,BOOL);
|
||||||
|
|
||||||
#define SV_TYPE_WORKSTATION 0x00000001
|
#define SV_TYPE_WORKSTATION 0x00000001
|
||||||
|
|
|
@ -76,8 +76,9 @@ typedef struct _WKSTA_INFO_102 {
|
||||||
} WKSTA_INFO_102, *PWKSTA_INFO_102, *LPWKSTA_INFO_102;
|
} WKSTA_INFO_102, *PWKSTA_INFO_102, *LPWKSTA_INFO_102;
|
||||||
|
|
||||||
/* workstation */
|
/* workstation */
|
||||||
NET_API_STATUS WINAPI NetWkstaUserGetInfo(LPWSTR reserved, DWORD level, PBYTE* bufptr);
|
NET_API_STATUS WINAPI NetWkstaGetInfo(LPWSTR,DWORD,LPBYTE*);
|
||||||
NET_API_STATUS WINAPI NetWkstaGetInfo(LPWSTR servername, DWORD level, PBYTE *bufptr);
|
NET_API_STATUS NET_API_FUNCTION NetWkstaTransportEnum(LPWSTR,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD,LPDWORD);
|
||||||
|
NET_API_STATUS WINAPI NetWkstaUserGetInfo(LPWSTR,DWORD,LPBYTE*);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue