diff --git a/dlls/netapi32/netapi32.c b/dlls/netapi32/netapi32.c index 320109b1b8a..e01b9292b64 100644 --- a/dlls/netapi32/netapi32.c +++ b/dlls/netapi32/netapi32.c @@ -19,6 +19,7 @@ #include "config.h" #include "wine/debug.h" +#include "lm.h" #include "netbios.h" WINE_DEFAULT_DEBUG_CHANNEL(netbios); diff --git a/include/lm.h b/include/lm.h index b8458800346..c88fe83cc74 100644 --- a/include/lm.h +++ b/include/lm.h @@ -29,5 +29,6 @@ #include #include #include +#include #endif diff --git a/include/lmaccess.h b/include/lmaccess.h index cfe0886c1df..4ae4707c691 100644 --- a/include/lmaccess.h +++ b/include/lmaccess.h @@ -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 } diff --git a/include/lmserver.h b/include/lmserver.h index b9b39857e85..f0b7094511c 100644 --- a/include/lmserver.h +++ b/include/lmserver.h @@ -18,6 +18,8 @@ #ifndef _LMSERVER_ #define _LMSERVER_ +#include + #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 diff --git a/include/lmwksta.h b/include/lmwksta.h index 2db1b6160db..19979c4f640 100644 --- a/include/lmwksta.h +++ b/include/lmwksta.h @@ -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 }