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.

77 lines
1.5 KiB

  1. /*++
  2. Copyright (c) 1999 Microsoft Corporation
  3. Module Name:
  4. fcbfobx.c
  5. Abstract:
  6. This module implements the user mode DAV miniredir routine(s) pertaining to
  7. finalizition of Fobxs.
  8. Author:
  9. Rohan Kumar [RohanK] 30-Sept-1999
  10. Revision History:
  11. --*/
  12. #include "pch.h"
  13. #pragma hdrstop
  14. #include "ntumrefl.h"
  15. #include "usrmddav.h"
  16. #include "global.h"
  17. #include "nodefac.h"
  18. //
  19. // Implementation of functions begins here.
  20. //
  21. ULONG
  22. DavFsFinalizeFobx(
  23. PDAV_USERMODE_WORKITEM DavWorkItem
  24. )
  25. /*++
  26. Routine Description:
  27. This routine handles DAV finalize Fobx requests that get reflected from the
  28. kernel.
  29. Arguments:
  30. DavWorkItem - The buffer that contains the request parameters and options.
  31. Return Value:
  32. The return status for the operation
  33. --*/
  34. {
  35. ULONG WStatus = ERROR_SUCCESS;
  36. PDAV_USERMODE_FINALIZE_FOBX_REQUEST DavFinFobxReq = NULL;
  37. PDAV_FILE_ATTRIBUTES DavFileAttributes = NULL;
  38. DavFinFobxReq = &(DavWorkItem->FinalizeFobxRequest);
  39. DavFileAttributes = DavFinFobxReq->DavFileAttributes;
  40. DavPrint((DEBUG_MISC,
  41. "DavFsFinalizeFobx: DavFileAttributes = %08lx.\n",
  42. DavFileAttributes));
  43. DavWorkItem->Status = WStatus;
  44. //
  45. // Finalize the list of DavFileAttributes.
  46. //
  47. DavFinalizeFileAttributesList(DavFileAttributes, TRUE);
  48. DavFileAttributes = NULL;
  49. return WStatus;
  50. }