mirror of https://github.com/tongzx/nt5src
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.
37 lines
1004 B
37 lines
1004 B
/*** acpins.h - ACPI NameSpace definitions
|
|
*
|
|
* Copyright (c) 1996,1997 Microsoft Corporation
|
|
* Author: Michael Tsang (MikeTs)
|
|
* Created 09/05/96
|
|
*
|
|
* MODIFICATION HISTORY
|
|
*/
|
|
|
|
#ifndef _ACPINS_H
|
|
#define _ACPINS_H
|
|
|
|
// NS flags
|
|
#define NSF_EXIST_OK 0x00010000
|
|
#define NSF_EXIST_ERR 0x00020000
|
|
|
|
// Misc. constants
|
|
#define NAMESEG_BLANK 0x5f5f5f5f // "____"
|
|
#define NAMESEG_ROOT 0x5f5f5f5c // "\___"
|
|
|
|
//
|
|
// Local function prototypes
|
|
//
|
|
VOID LOCAL DumpNameSpacePaths(PNSOBJ pnsObj, FILE *pfileOut);
|
|
PSZ LOCAL GetObjectPath(PNSOBJ pns);
|
|
PSZ LOCAL GetObjectTypeName(DWORD dwObjType);
|
|
|
|
//
|
|
// Exported function prototypes
|
|
//
|
|
int LOCAL InitNameSpace(VOID);
|
|
int LOCAL GetNameSpaceObj(PSZ pszObjPath, PNSOBJ pnsScope, PPNSOBJ ppns,
|
|
DWORD dwfNS);
|
|
int LOCAL CreateNameSpaceObj(PTOKEN ptoken, PSZ pszName, PNSOBJ pnsScope,
|
|
PNSOBJ pnsOwner, PPNSOBJ ppns, DWORD dwfNS);
|
|
|
|
#endif //ifndef _ACPINS_H
|