Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.5 KiB

  1. /*+-------------------------------------------------------------------------+
  2. | Copyright 1993-1994 (C) Microsoft Corporation - All rights reserved. |
  3. +-------------------------------------------------------------------------+*/
  4. #ifndef _HSBROWSE_
  5. #define _HSBROWSE_
  6. #ifdef __cplusplus
  7. extern "C"{
  8. #endif
  9. #define BROWSE_TYPE_NT 0
  10. #define BROWSE_TYPE_NW 1
  11. #define BROWSE_TYPE_DOMAIN 2
  12. /*+-------------------------------------------------------------------------+
  13. | Server Browsing Stuff |
  14. +-------------------------------------------------------------------------+*/
  15. typedef struct _SERVER_BROWSE_BUFFER {
  16. TCHAR Name[MAX_SERVER_NAME_LEN+1];
  17. TCHAR Description[MAX_PATH+1];
  18. BOOL Container;
  19. struct _SERVER_BROWSE_LIST *child; // Points to a server list
  20. } SERVER_BROWSE_BUFFER;
  21. typedef struct _SERVER_BROWSE_LIST {
  22. DWORD Count;
  23. SERVER_BROWSE_BUFFER SList[];
  24. } SERVER_BROWSE_LIST;
  25. /*+-------------------------------------------------------------------------+
  26. | Function Prototypes |
  27. +-------------------------------------------------------------------------+*/
  28. LRESULT CALLBACK DlgServSel(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
  29. DWORD DialogServerBrowse(HINSTANCE hInst, HWND hDlg, SOURCE_SERVER_BUFFER **lpSourceServer, DEST_SERVER_BUFFER **lpDestServer);
  30. int DlgServSel_Do(int BType, HWND hwndOwner);
  31. #ifdef __cplusplus
  32. }
  33. #endif
  34. #endif