Tim Schwartz : lmuse.h: Add structures needed by NetUseAdd().

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jul 30 08:56:02 CDT 2007


Module: wine
Branch: master
Commit: 2908dab7840d045efb0e959cdc393f3a808fa6d2
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2908dab7840d045efb0e959cdc393f3a808fa6d2

Author: Tim Schwartz <tim at sanityinternet.com>
Date:   Fri Jul 27 17:43:16 2007 -0500

lmuse.h: Add structures needed by NetUseAdd().

---

 include/Makefile.in |    1 +
 include/lm.h        |    1 +
 include/lmuse.h     |   41 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 43 insertions(+), 0 deletions(-)

diff --git a/include/Makefile.in b/include/Makefile.in
index 44ef893..a79ae12 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -200,6 +200,7 @@ SRCDIR_INCLUDES = \
 	lmserver.h \
 	lmshare.h \
 	lmstats.h \
+	lmuse.h \
 	lmwksta.h \
 	lzexpand.h \
 	mapi.h \
diff --git a/include/lm.h b/include/lm.h
index 6151fd5..429ca9f 100644
--- a/include/lm.h
+++ b/include/lm.h
@@ -32,5 +32,6 @@
 #include <lmstats.h>
 #include <lmjoin.h>
 #include <lmmsg.h>
+#include <lmuse.h>
 
 #endif
diff --git a/include/lmuse.h b/include/lmuse.h
new file mode 100644
index 0000000..786fb01
--- /dev/null
+++ b/include/lmuse.h
@@ -0,0 +1,41 @@
+/*
+ * Copyright (C) 2007 Tim Schwartz
+ *
+ * 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+#ifndef _LMUSE_H
+#define _LMUSE_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef struct _USE_INFO_1 {
+  LMSTR ui1_local, ui1_remote, ui1_password;
+  DWORD ui1_status, ui1_asg_type, ui1_refcount, ui1_usecount;
+} USE_INFO_1, *PUSE_INFO_1, *LPUSE_INFO_1;
+
+typedef struct _USE_INFO_2 {
+  LMSTR ui2_local, ui2_remote, ui2_password;
+  DWORD ui2_status, ui2_asg_type, ui2_refcount, ui2_usecount;
+  LPWSTR ui2_username;
+  LMSTR ui2_domainname;
+} USE_INFO_2, *PUSE_INFO_2, *LPUSE_INFO_2;
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* ndef _LMUSE_H */




More information about the wine-cvs mailing list