Leaked source code of windows server 2003
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.

88 lines
1.7 KiB

  1. /*++
  2. Copyright (c) 1999 Microsoft Corporation
  3. Module Name:
  4. global.h
  5. Abstract:
  6. This file contains globals and prototypes for user mode webdav client.
  7. Author:
  8. Andy Herron (andyhe) 30-Mar-1999
  9. Environment:
  10. User Mode - Win32
  11. Revision History:
  12. --*/
  13. #ifndef _DAVGLOBAL_H
  14. #define _DAVGLOBAL_H
  15. #pragma once
  16. #include <debug.h>
  17. #include <davrpc.h>
  18. #include <winsock2.h>
  19. #include <align.h>
  20. #include <winbasep.h>
  21. #include <icanon.h>
  22. #define DAV_PATH_SEPARATOR L'\\'
  23. #define DAV_DUMMY_SHARE L"DavWWWRoot"
  24. #define RESOURCE_SHAREABLE 0x00000006
  25. typedef enum _DAV_REMOTENAME_TYPE {
  26. DAV_REMOTENAME_TYPE_INVALID = 0,
  27. DAV_REMOTENAME_TYPE_WORKGROUP,
  28. DAV_REMOTENAME_TYPE_DFS,
  29. DAV_REMOTENAME_TYPE_SERVER,
  30. DAV_REMOTENAME_TYPE_SHARE,
  31. DAV_REMOTENAME_TYPE_PATH
  32. } DAV_REMOTENAME_TYPE, *PDAV_REMOTENAME_TYPE;
  33. typedef enum _DAV_ENUMNODE_TYPE {
  34. DAV_ENUMNODE_TYPE_USE = 0,
  35. DAV_ENUMNODE_TYPE_CONTEXT,
  36. DAV_ENUMNODE_TYPE_SHARE,
  37. DAV_ENUMNODE_TYPE_SERVER,
  38. DAV_ENUMNODE_TYPE_DOMAIN,
  39. DAV_ENUMNODE_TYPE_EMPTY
  40. } DAV_ENUMNODE_TYPE;
  41. typedef struct _DAV_ENUMNODE {
  42. DAV_ENUMNODE_TYPE DavEnumNodeType;
  43. DWORD dwScope;
  44. DWORD dwType;
  45. DWORD dwUsage;
  46. //
  47. // Are we done returning all the requested entries. If we are this is set
  48. // to TRUE, so that on the next call, we can return WN_NO_MORE_ENTRIES.
  49. //
  50. BOOL Done;
  51. //
  52. // Start with the entry at this index. This means that the entries of
  53. // lower indices have already been sent to the caller previously.
  54. //
  55. DWORD Index;
  56. LPNETRESOURCE lpNetResource;
  57. } DAV_ENUMNODE, *PDAV_ENUMNODE;
  58. #endif // DAVGLOBAL_H