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.

124 lines
3.2 KiB

  1. /*
  2. * _ D A V F S . H
  3. *
  4. * Precompiled header sources
  5. *
  6. * Copyright 1986-1997 Microsoft Corporation, All Rights Reserved
  7. */
  8. #ifndef __DAVFS_H_
  9. #define __DAVFS_H_
  10. #pragma warning(disable:4001) /* single line comments */
  11. #pragma warning(disable:4050) /* different code attributes */
  12. #pragma warning(disable:4100) /* unreferenced formal parameter */
  13. #pragma warning(disable:4115) /* named type definition in parentheses */
  14. #pragma warning(disable:4127) /* conditional expression is constant */
  15. #pragma warning(disable:4201) /* nameless struct/union */
  16. #pragma warning(disable:4206) /* translation unit is empty */
  17. #pragma warning(disable:4209) /* benign typedef redefinition */
  18. #pragma warning(disable:4214) /* bit field types other than int */
  19. #pragma warning(disable:4514) /* unreferenced inline function */
  20. #pragma warning(disable:4200) /* zero-sized array in struct/union */
  21. #pragma warning(disable:4710) // (inline) function not expanded
  22. // Windows headers
  23. //
  24. //$HACK!
  25. //
  26. // Define _WINSOCKAPI_ to keep windows.h from including winsock.h,
  27. // whose declarations would be redefined in winsock2.h,
  28. // which is included by iisextp.h,
  29. // which we include in davimpl.h!
  30. //
  31. #define _WINSOCKAPI_
  32. #include <windows.h>
  33. #include <winnls.h>
  34. #include <malloc.h>
  35. #include <caldbg.h>
  36. #include <calrc.h>
  37. #include <crc.h>
  38. #include <exo.h>
  39. #include <singlton.h>
  40. #include <thrdpool.h>
  41. #include <align.h>
  42. #include <mem.h>
  43. #include <except.h>
  44. #include <davimpl.h>
  45. #include <security.h>
  46. #include <davmb.h>
  47. #include <eventlog.h>
  48. #include <statcode.h>
  49. #include <sz.h>
  50. #include <etag.h>
  51. #include <dav.rh>
  52. #include <ex\cnvt.h>
  53. #include <util.h>
  54. #include <filter.h>
  55. #include <filterr.h>
  56. #include "_fslock.h"
  57. #include "_fsimpl.h"
  58. #include "_fsri.h"
  59. #include "_fsutil.h"
  60. #include "_diriter.h"
  61. #include "_fsmvcpy.h"
  62. #include "_fsmeta.h"
  63. #include "_shlkmgr.h"
  64. #include "_voltype.h"
  65. #include "davprsmc.h"
  66. #include "traces.h"
  67. // DAV Prefixed Win32 API's --------------------------------------------------
  68. //
  69. HANDLE __fastcall DavCreateFile (
  70. /* [in] */ LPCWSTR lpFileName,
  71. /* [in] */ DWORD dwDesiredAccess,
  72. /* [in] */ DWORD dwShareMode,
  73. /* [in] */ LPSECURITY_ATTRIBUTES lpSecurityAttributes,
  74. /* [in] */ DWORD dwCreationDisposition,
  75. /* [in] */ DWORD dwFlagsAndAttributes,
  76. /* [in] */ HANDLE hTemplateFile);
  77. BOOL __fastcall DavDeleteFile (
  78. /* [in] */ LPCWSTR lpFileName);
  79. BOOL __fastcall DavCopyFile (
  80. /* [in] */ LPCWSTR lpExistingFileName,
  81. /* [in] */ LPCWSTR lpNewFileName,
  82. /* [in] */ BOOL bFailIfExists);
  83. BOOL __fastcall DavMoveFile (
  84. /* [in] */ LPCWSTR lpExistingFileName,
  85. /* [in] */ LPCWSTR lpNewFileName,
  86. /* [in] */ DWORD dwReplace);
  87. BOOL __fastcall DavCreateDirectory (
  88. /* [in] */ LPCWSTR lpFileName,
  89. /* [in] */ LPSECURITY_ATTRIBUTES lpSecurityAttributes);
  90. BOOL __fastcall DavRemoveDirectory (
  91. /* [in] */ LPCWSTR lpFileName);
  92. BOOL __fastcall DavGetFileAttributes (
  93. /* [in] */ LPCWSTR lpFileName,
  94. /* [in] */ GET_FILEEX_INFO_LEVELS fInfoLevelId,
  95. /* [out] */ LPVOID lpFileInformation);
  96. BOOL __fastcall DavFindFirstFile (
  97. /* [in] */ LPCWSTR lpFileName,
  98. /* [out] */ HANDLE * ph,
  99. /* [out] */ WIN32_FIND_DATAW * pfd);
  100. #endif // __DAVFS_H_