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

/*++
Copyright (c) 1997 Microsoft Corporation
Module Name:
namespac.h
Abstract:
This file contains all of the namespace handling functions
Author:
Based on code by Mike Tsang (MikeTs)
Stephane Plante (Splante)
Environment:
User mode only
Revision History:
--*/
#ifndef _NAMESPAC_H_
#define _NAMESPAC_H_
extern PNSOBJ RootNameSpaceObject;
extern PNSOBJ CurrentScopeNameSpaceObject;
extern PNSOBJ CurrentOwnerNameSpaceObject;
NTSTATUS
CreateNameSpaceObject(
PUCHAR ObjectName,
PNSOBJ ObjectScope,
PNSOBJ ObjectOwner,
PNSOBJ *Object,
ULONG Flags
);
NTSTATUS
CreateObject(
PUCHAR ObjectName,
UCHAR ObjectType,
PNSOBJ *Object
);
NTSTATUS
GetNameSpaceObject(
PUCHAR ObjectPath,
PNSOBJ ScopeObject,
PNSOBJ *NameObject,
ULONG Flags
);
PUCHAR
GetObjectTypeName(
ULONG ObjectType
);
PUCHAR
LocalGetObjectPath(
PNSOBJ NameObject
);
PUCHAR
RemoteGetObjectPath(
ULONG_PTR ObjectAddress
);
#endif