74 lines
1.2 KiB
C
74 lines
1.2 KiB
C
|
/*++
|
||
|
|
||
|
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
|