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.

111 lines
2.0 KiB

  1. /*++
  2. Copyright (c) 1989 - 1999 Microsoft Corporation
  3. Module Name:
  4. locks.c
  5. Abstract:
  6. This module implements the mini redirector call down routines pertaining to locks
  7. of file system objects.
  8. --*/
  9. #include "precomp.h"
  10. #pragma hdrstop
  11. //
  12. // The local debug trace level
  13. //
  14. #define Dbg (DEBUG_TRACE_LOCKS)
  15. #ifdef ALLOC_PRAGMA
  16. #pragma alloc_text(PAGE, NulMRxLocks)
  17. #pragma alloc_text(PAGE, NulMRxCompleteBufferingStateChangeRequest)
  18. #pragma alloc_text(PAGE, NulMRxFlush)
  19. #endif
  20. NTSTATUS
  21. NulMRxLocks(
  22. IN PRX_CONTEXT RxContext)
  23. /*++
  24. Routine Description:
  25. This routine handles network requests for filelocks
  26. Arguments:
  27. RxContext - the RDBSS context
  28. Return Value:
  29. RXSTATUS - The return status for the operation
  30. --*/
  31. {
  32. NTSTATUS Status = STATUS_NOT_IMPLEMENTED;
  33. //DbgPrint("NulMRxLocks \n");
  34. return(Status);
  35. }
  36. NTSTATUS
  37. NulMRxCompleteBufferingStateChangeRequest(
  38. IN OUT PRX_CONTEXT RxContext,
  39. IN OUT PMRX_SRV_OPEN SrvOpen,
  40. IN PVOID pContext
  41. )
  42. /*++
  43. Routine Description:
  44. This routine is called to assert the locks that the wrapper has buffered. currently, it is synchronous!
  45. Arguments:
  46. RxContext - the open instance
  47. SrvOpen - tells which fcb is to be used.
  48. LockEnumerator - the routine to call to get the locks
  49. Return Value:
  50. RXSTATUS - The return status for the operation
  51. --*/
  52. {
  53. NTSTATUS Status = STATUS_NOT_IMPLEMENTED;
  54. DbgPrint("NulMRxCompleteBufferingStateChangeRequest \n");
  55. return(Status);
  56. }
  57. NTSTATUS
  58. NulMRxFlush(
  59. IN PRX_CONTEXT RxContext)
  60. /*++
  61. Routine Description:
  62. This routine handles network requests for file flush
  63. Arguments:
  64. RxContext - the RDBSS context
  65. Return Value:
  66. RXSTATUS - The return status for the operation
  67. --*/
  68. {
  69. NTSTATUS Status = STATUS_NOT_IMPLEMENTED;
  70. DbgPrint("NulMRxFlush \n");
  71. return(Status);
  72. }