Added stub implementation of NetGetJoinInformation.
authorUlrich Czekalla <ulrich@codeweavers.com>
Thu, 20 Jan 2005 10:35:21 +0000 (10:35 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 20 Jan 2005 10:35:21 +0000 (10:35 +0000)
dlls/netapi32/netapi32.spec
dlls/netapi32/wksta.c
include/Makefile.in
include/lm.h
include/lmjoin.h [new file with mode: 0644]

index 94802c2792f12de37c39376c6fa17d49b895cbb2..adba9782e19cb7e8133e528cf01dd9e2f93d7413 100644 (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
index c6e02fae4d282a76cac10d01f127958c678243e9..5a3a318eaa31f3600c340a028491fea1b7c21054 100644 (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;
+}
index 2188cd398fc6491cf2d30e5c611f022a1f02ce8e..525d02158b8856508f34e2dabd34fe30cf3f92e1 100644 (file)
@@ -133,6 +133,7 @@ WINDOWS_INCLUDES = \
        lmbrowsr.h \
        lmcons.h \
        lmerr.h \
+       lmjoin.h \
        lmserver.h \
        lmshare.h \
        lmstats.h \
index 2ce4eed61fb1ec85e675075979f5c0d025603478..b84588003460d12c412a7d65bccabb054ec95590 100644 (file)
@@ -28,5 +28,6 @@
 #include <lmwksta.h>
 #include <lmapibuf.h>
 #include <lmstats.h>
+#include <lmjoin.h>
 
 #endif
diff --git a/include/lmjoin.h b/include/lmjoin.h
new file mode 100644 (file)
index 0000000..7c18ca0
--- /dev/null
@@ -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