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.

85 lines
1.7 KiB

  1. /*++
  2. Copyright (c) 1998-2000 Microsoft Corporation
  3. Module Name :
  4. namespc.h
  5. Abstract:
  6. Function prototypes for name space callbacks from the redirector kit.
  7. Revision History:
  8. --*/
  9. #pragma once
  10. #ifdef __cplusplus
  11. extern "C" {
  12. #endif __cplusplus
  13. NTSTATUS
  14. DrCreateSrvCall(
  15. IN OUT PMRX_SRV_CALL pSrvCall,
  16. IN OUT PMRX_SRVCALL_CALLBACK_CONTEXT pCallbackContext
  17. );
  18. NTSTATUS
  19. DrSrvCallWinnerNotify(
  20. IN OUT PMRX_SRV_CALL SrvCall,
  21. IN BOOLEAN ThisMinirdrIsTheWinner,
  22. IN OUT PVOID RecommunicateContext
  23. );
  24. NTSTATUS
  25. DrCreateVNetRoot(
  26. IN OUT PMRX_CREATENETROOT_CONTEXT CreateNetRootContext
  27. );
  28. NTSTATUS
  29. DrFinalizeVNetRoot(
  30. IN OUT PMRX_V_NET_ROOT pVirtualNetRoot,
  31. IN PBOOLEAN ForceDisconnect
  32. );
  33. NTSTATUS
  34. DrFinalizeNetRoot(
  35. IN OUT PMRX_NET_ROOT pNetRoot,
  36. IN PBOOLEAN ForceDisconnect);
  37. NTSTATUS
  38. DrUpdateNetRootState(
  39. IN PMRX_NET_ROOT pNetRoot
  40. );
  41. VOID
  42. DrExtractNetRootName(
  43. IN PUNICODE_STRING FilePathName,
  44. IN PMRX_SRV_CALL SrvCall,
  45. OUT PUNICODE_STRING NetRootName,
  46. OUT PUNICODE_STRING RestOfName OPTIONAL
  47. );
  48. NTSTATUS
  49. DrCreateSrvCall(
  50. PMRX_SRV_CALL pSrvCall,
  51. PMRX_SRVCALL_CALLBACK_CONTEXT pCallbackContext
  52. );
  53. NTSTATUS
  54. DrFinalizeSrvCall(
  55. PMRX_SRV_CALL pSrvCall,
  56. BOOLEAN Force
  57. );
  58. NTSTATUS
  59. DrSrvCallWinnerNotify(
  60. IN OUT PMRX_SRV_CALL pSrvCall,
  61. IN BOOLEAN ThisMinirdrIsTheWinner,
  62. IN OUT PVOID pSrvCallContext
  63. );
  64. #ifdef __cplusplus
  65. } // extern "C"
  66. #endif __cplusplus