NetApi32: NetGetJoinInformation
Ulrich Czekalla
ulrich.czekalla at utoronto.ca
Wed Jan 19 13:45:05 CST 2005
ChangeLog:
Ulrich Czekalla <ulrich at codeweavers.com>
Add stub implementation of NetGetJoinInformation
-------------- next part --------------
Index: dlls/netapi32/netapi32.spec
===================================================================
RCS file: /cvstrees/crossover/office/wine/dlls/netapi32/netapi32.spec,v
retrieving revision 1.1.1.15
diff -u -p -r1.1.1.15 netapi32.spec
--- dlls/netapi32/netapi32.spec 9 Apr 2004 00:37:57 -0000 1.1.1.15
+++ dlls/netapi32/netapi32.spec 19 Jan 2005 19:36:58 -0000
@@ -76,6 +76,7 @@
@ stub NetGetAnyDCName
@ stdcall NetGetDCName(wstr wstr ptr)
@ stub NetGetDisplayInformationIndex
+@ stdcall NetGetJoinInformation(wstr ptr ptr)
@ stub NetGroupAdd
@ stub NetGroupAddUser
@ stub NetGroupDel
Index: dlls/netapi32/wksta.c
===================================================================
RCS file: /cvstrees/crossover/office/wine/dlls/netapi32/wksta.c,v
retrieving revision 1.1.1.11
diff -u -p -r1.1.1.11 wksta.c
--- dlls/netapi32/wksta.c 9 Apr 2004 00:37:57 -0000 1.1.1.11
+++ dlls/netapi32/wksta.c 19 Jan 2005 19:36:58 -0000
@@ -547,3 +547,19 @@ NET_API_STATUS WINAPI NetWkstaGetInfo( L
}
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;
+}
Index: include/lm.h
===================================================================
RCS file: /cvstrees/crossover/office/wine/include/lm.h,v
retrieving revision 1.1.1.2
diff -u -p -r1.1.1.2 lm.h
--- include/lm.h 12 Sep 2003 18:37:35 -0000 1.1.1.2
+++ include/lm.h 19 Jan 2005 19:36:59 -0000
@@ -28,5 +28,6 @@
#include <lmwksta.h>
#include <lmapibuf.h>
#include <lmstats.h>
+#include <lmjoin.h>
#endif
--- /dev/null 2004-09-14 13:56:30.000000000 -0400
+++ include/lmjoin.h 2005-01-19 14:21:50.000000000 -0500
@@ -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
More information about the wine-patches
mailing list