summaryrefslogtreecommitdiffstats
path: root/private/nw/convert/nwconv/sbrowse.h
diff options
context:
space:
mode:
authorAdam <you@example.com>2020-05-17 05:51:50 +0200
committerAdam <you@example.com>2020-05-17 05:51:50 +0200
commite611b132f9b8abe35b362e5870b74bce94a1e58e (patch)
treea5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/nw/convert/nwconv/sbrowse.h
downloadNT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip
Diffstat (limited to '')
-rw-r--r--private/nw/convert/nwconv/sbrowse.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/private/nw/convert/nwconv/sbrowse.h b/private/nw/convert/nwconv/sbrowse.h
new file mode 100644
index 000000000..efd7d6fdb
--- /dev/null
+++ b/private/nw/convert/nwconv/sbrowse.h
@@ -0,0 +1,44 @@
+/*+-------------------------------------------------------------------------+
+ | Copyright 1993-1994 (C) Microsoft Corporation - All rights reserved. |
+ +-------------------------------------------------------------------------+*/
+
+#ifndef _HSBROWSE_
+#define _HSBROWSE_
+
+#ifdef __cplusplus
+extern "C"{
+#endif
+
+#define BROWSE_TYPE_NT 0
+#define BROWSE_TYPE_NW 1
+#define BROWSE_TYPE_DOMAIN 2
+
+/*+-------------------------------------------------------------------------+
+ | Server Browsing Stuff |
+ +-------------------------------------------------------------------------+*/
+typedef struct _SERVER_BROWSE_BUFFER {
+ TCHAR Name[MAX_SERVER_NAME_LEN+1];
+ TCHAR Description[MAX_PATH+1];
+ BOOL Container;
+ struct _SERVER_BROWSE_LIST *child; // Points to a server list
+} SERVER_BROWSE_BUFFER;
+
+
+typedef struct _SERVER_BROWSE_LIST {
+ DWORD Count;
+ SERVER_BROWSE_BUFFER SList[];
+} SERVER_BROWSE_LIST;
+
+
+/*+-------------------------------------------------------------------------+
+ | Function Prototypes |
+ +-------------------------------------------------------------------------+*/
+LRESULT CALLBACK DlgServSel(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
+DWORD DialogServerBrowse(HINSTANCE hInst, HWND hDlg, SOURCE_SERVER_BUFFER **lpSourceServer, DEST_SERVER_BUFFER **lpDestServer);
+int DlgServSel_Do(int BType, HWND hwndOwner);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif