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.

112 lines
2.1 KiB

  1. /*++
  2. Copyright (c) 1989 - 1999 Microsoft Corporation
  3. Module Name:
  4. ea.c
  5. Abstract:
  6. This module implements 'extended attributes' on a file handle
  7. --*/
  8. #include "precomp.h"
  9. #pragma hdrstop
  10. //
  11. // The local debug trace level
  12. //
  13. #define Dbg (DEBUG_TRACE_EA)
  14. #ifdef ALLOC_PRAGMA
  15. #pragma alloc_text(PAGE, NulMRxQueryEaInformation)
  16. #endif
  17. //
  18. // Extended Attributes (EA) functionality
  19. //
  20. NTSTATUS
  21. NulMRxQueryEaInformation (
  22. IN OUT PRX_CONTEXT RxContext
  23. )
  24. /*++
  25. Routine Description:
  26. This routine queries IFS for extended attributes like
  27. scatter-gather list and filename for an IFS handle.
  28. Arguments:
  29. RxContext - the RDBSS context
  30. Return Value:
  31. RXSTATUS - The return status for the operation
  32. Notes:
  33. --*/
  34. {
  35. NTSTATUS Status = STATUS_SUCCESS;
  36. RxCaptureFcb;
  37. RxCaptureFobx;
  38. RxCaptureParamBlock;
  39. PMRX_SRV_OPEN pSrvOpen = capFobx->pSrvOpen;
  40. PFILE_FULL_EA_INFORMATION pEaInfo = (PFILE_FULL_EA_INFORMATION) RxContext->Info.Buffer;
  41. ULONG BufferLength = RxContext->Info.LengthRemaining;
  42. ULONG UserEaListLength = RxContext->QueryEa.UserEaListLength;
  43. PUCHAR UserEaList = RxContext->QueryEa.UserEaList;
  44. PFILE_GET_EA_INFORMATION pGetEaInfo = (PFILE_GET_EA_INFORMATION) UserEaList;
  45. NulMRxGetFcbExtension(capFcb,pFcbExtension);
  46. PMRX_NET_ROOT pNetRoot = capFcb->pNetRoot;
  47. NulMRxGetNetRootExtension(pNetRoot,pNetRootExtension);
  48. RxTraceEnter("NulMRxQueryEaInformation");
  49. PAGED_CODE();
  50. RxDbgTrace(0, Dbg, ("Ea buffer len remaining is %d\n", RxContext->Info.LengthRemaining));
  51. RxTraceLeave(Status);
  52. return(Status);
  53. }
  54. NTSTATUS
  55. NulMRxSetEaInformation (
  56. IN OUT PRX_CONTEXT RxContext
  57. )
  58. /*++
  59. Routine Description:
  60. This routine sets the EA information for this FCB
  61. Arguments:
  62. RxContext - the RDBSS context
  63. Return Value:
  64. RXSTATUS - The return status for the operation
  65. Notes:
  66. --*/
  67. {
  68. PAGED_CODE();
  69. UNREFERENCED_PARAMETER(RxContext);
  70. DbgPrint("NulMRxSetEaInformation");
  71. return STATUS_NOT_IMPLEMENTED;
  72. }