Added stub implementation of NetGetJoinInformation.

This commit is contained in:
Ulrich Czekalla 2005-01-20 10:35:21 +00:00 committed by Alexandre Julliard
parent 62b94d89bd
commit a47a0e3be7
5 changed files with 62 additions and 0 deletions

View File

@ -76,6 +76,7 @@
@ stub NetGetAnyDCName
@ stdcall NetGetDCName(wstr wstr ptr)
@ stub NetGetDisplayInformationIndex
@ stdcall NetGetJoinInformation(wstr ptr ptr)
@ stub NetGroupAdd
@ stub NetGroupAddUser
@ stub NetGroupDel

View File

@ -547,3 +547,19 @@ NET_API_STATUS WINAPI NetWkstaGetInfo( LPWSTR servername, DWORD level,
}
return ret;
}
/************************************************************
* NetGetJoinInformation (NETAPI32.@)
*/
NET_API_STATUS NET_API_FUNCTION NetGetJoinInformation(
LPCWSTR Server,
LPWSTR *Name,
PNETSETUP_JOIN_STATUS type)
{
FIXME("Stub %s %p %p\n", wine_dbgstr_w(Server), Name, type);
*Name = NULL;
*type = NetSetupUnknownStatus;
return NERR_Success;
}

View File

@ -133,6 +133,7 @@ WINDOWS_INCLUDES = \
lmbrowsr.h \
lmcons.h \
lmerr.h \
lmjoin.h \
lmserver.h \
lmshare.h \
lmstats.h \

View File

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

43
include/lmjoin.h Normal file
View File

@ -0,0 +1,43 @@
/*
* Copyright 2005 Ulrich Czekalla (For CodeWeavers)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef __WINE_LMJOIN_H
#define __WINE_LMJOIN_H
#ifdef __cplusplus
extern "C" {
#endif
typedef enum tagNETSETUP_JOIN_STATUS
{
NetSetupUnknownStatus = 0,
NetSetupUnjoined,
NetSetupWorkgroupName,
NetSetupDomainName
} NETSETUP_JOIN_STATUS, *PNETSETUP_JOIN_STATUS;
NET_API_STATUS NET_API_FUNCTION NetGetJoinInformation(
LPCWSTR Server,
LPWSTR *Name,
PNETSETUP_JOIN_STATUS type);
#ifdef __cplusplus
}
#endif
#endif