From e611b132f9b8abe35b362e5870b74bce94a1e58e Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 16 May 2020 20:51:50 -0700 Subject: initial commit --- private/nw/convert/nwconv/sbrowse.h | 44 +++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 private/nw/convert/nwconv/sbrowse.h (limited to 'private/nw/convert/nwconv/sbrowse.h') 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 -- cgit v1.2.3