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.2 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. CreateNameSpaceObject(
  21. PUCHAR ObjectName,
  22. PNSOBJ ObjectScope,
  23. PNSOBJ ObjectOwner,
  24. PNSOBJ *Object,
  25. ULONG Flags
  26. );
  27. NTSTATUS
  28. CreateObject(
  29. PUCHAR ObjectName,
  30. UCHAR ObjectType,
  31. PNSOBJ *Object
  32. );
  33. NTSTATUS
  34. GetNameSpaceObject(
  35. PUCHAR ObjectPath,
  36. PNSOBJ ScopeObject,
  37. PNSOBJ *NameObject,
  38. ULONG Flags
  39. );
  40. PUCHAR
  41. GetObjectTypeName(
  42. ULONG ObjectType
  43. );
  44. PUCHAR
  45. LocalGetObjectPath(
  46. PNSOBJ NameObject
  47. );
  48. PUCHAR
  49. RemoteGetObjectPath(
  50. ULONG_PTR ObjectAddress
  51. );
  52. #endif