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.

73 lines
1.0 KiB

  1. /*++
  2. Copyright (c) 1997 Microsoft Corporation
  3. Module Name:
  4. namespac.h
  5. Abstract:
  6. This file contains all of the namespace handling functions
  7. Author:
  8. Based on code by Mike Tsang (MikeTs)
  9. Stephane Plante (Splante)
  10. Environment:
  11. User mode only
  12. Revision History:
  13. --*/
  14. #ifndef _NAMESPAC_H_
  15. #define _NAMESPAC_H_
  16. extern PNSOBJ RootNameSpaceObject;
  17. extern PNSOBJ CurrentScopeNameSpaceObject;
  18. extern PNSOBJ CurrentOwnerNameSpaceObject;
  19. NTSTATUS
  20. LOCAL
  21. CreateNameSpaceObject(
  22. PUCHAR ObjectName,
  23. PNSOBJ ObjectScope,
  24. PNSOBJ ObjectOwner,
  25. PNSOBJ *Object,
  26. ULONG Flags
  27. );
  28. NTSTATUS
  29. LOCAL
  30. CreateObject(
  31. PUCHAR ObjectName,
  32. UCHAR ObjectType,
  33. PNSOBJ *Object
  34. );
  35. NTSTATUS
  36. LOCAL
  37. GetNameSpaceObject(
  38. PUCHAR ObjectPath,
  39. PNSOBJ ScopeObject,
  40. PNSOBJ *NameObject,
  41. ULONG Flags
  42. );
  43. PUCHAR
  44. LOCAL
  45. GetObjectPath(
  46. PNSOBJ NameObject
  47. );
  48. PUCHAR
  49. LOCAL
  50. GetObjectTypeName(
  51. ULONG ObjectType
  52. );
  53. #endif