windows-nt/Source/XPSP1/NT/base/busdrv/acpi/tools/kdext/unamespac.h

74 lines
1.2 KiB
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
/*++
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