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.

139 lines
2.5 KiB

  1. /*++
  2. Copyright (c) 1997 Microsoft Corporation. All rights reserved.
  3. MODULE NAME:
  4. davrpc.idl
  5. ABSTRACT:
  6. DavClient to DAV Service RPC interface definition for the web client
  7. service.
  8. CREATED:
  9. 03/30/99 Andy Herron [AndyHe]
  10. 01/23/00 Rohan Kumar [RohanK]
  11. REVISION HISTORY:
  12. --*/
  13. [
  14. uuid(c8cb7687-e6d3-11d2-a958-00c04f682e16),
  15. version(1.0),
  16. pointer_default(unique)
  17. ]
  18. interface davclntrpc
  19. {
  20. import "wtypes.idl";
  21. //
  22. // The RPC Function interface.
  23. //
  24. DWORD
  25. DavrCreateConnection(
  26. [in, string, unique] wchar_t *LocalName,
  27. [in, string] wchar_t *RemoteName,
  28. [in] DWORD Type,
  29. [in, string, unique] wchar_t *Password,
  30. [in, string, unique] wchar_t *UserName
  31. );
  32. DWORD
  33. DavrDoesServerDoDav(
  34. [in, string, ref] wchar_t *ServerName,
  35. [in, out, ref] boolean *DoesDav
  36. );
  37. DWORD
  38. DavrIsValidShare(
  39. [in, string, ref] wchar_t *ServerName,
  40. [in, string, ref] wchar_t *ShareName,
  41. [in, out, ref] boolean *ValidShare
  42. );
  43. DWORD
  44. DavrEnumNetUses(
  45. [in, out, ref] DWORD *Index,
  46. [out, string] LPWSTR *LocalName,
  47. [out, string] LPWSTR *RemoteName,
  48. [in, out, ref] boolean *Done
  49. );
  50. DWORD
  51. DavrEnumShares(
  52. [in, out, ref] DWORD *Index,
  53. [in, string, ref] wchar_t *ServerName,
  54. [out, string] LPWSTR *RemoteName,
  55. [in, out, ref] boolean *Done
  56. );
  57. DWORD
  58. DavrEnumServers(
  59. [in, out, ref] DWORD *Index,
  60. [out, string] LPWSTR *RemoteName,
  61. [in, out, ref] boolean *Done
  62. );
  63. DWORD
  64. DavrGetConnection(
  65. [in, string, ref] wchar_t *LocalName,
  66. [out, string] LPWSTR *RemoteName,
  67. [in, out, ref] boolean *Connected
  68. );
  69. DWORD
  70. DavrDeleteConnection(
  71. [in, string, ref] wchar_t *ConnectionName,
  72. [in] DWORD UseForce
  73. );
  74. DWORD
  75. DavrGetUser(
  76. [in, string, ref] wchar_t *ConnectionName,
  77. [out, string] LPWSTR *UserName
  78. );
  79. DWORD
  80. DavrConnectionExist(
  81. [in, string, ref] wchar_t *ConnectionName
  82. );
  83. DWORD
  84. DavrWinlogonLogonEvent(
  85. void
  86. );
  87. DWORD
  88. DavrWinlogonLogoffEvent(
  89. void
  90. );
  91. DWORD
  92. DavrGetDiskSpaceUsage(
  93. [out, size_is(Size), length_is(*pLength), ref] wchar_t *lptzLocation,
  94. [in, range(0, 260)] long Size,
  95. [out, ref] long *pLength,
  96. [in, out, ref] ULARGE_INTEGER *lpMaxSpace,
  97. [in, out, ref] ULARGE_INTEGER *lpUsedSpace
  98. );
  99. DWORD
  100. DavrFreeUsedDiskSpace(
  101. [in] DWORD dwPercent
  102. );
  103. DWORD
  104. DavrGetTheLockOwnerOfTheFile(
  105. [in, string, ref] wchar_t *FileName,
  106. [out, string] LPWSTR *LockOwnerName
  107. );
  108. }