Source code of Windows XP (NT5)
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

  1. /*** acpins.h - ACPI NameSpace definitions
  2. *
  3. * Copyright (c) 1996,1997 Microsoft Corporation
  4. * Author: Michael Tsang (MikeTs)
  5. * Created 09/05/96
  6. *
  7. * MODIFICATION HISTORY
  8. */
  9. #ifndef _ACPINS_H
  10. #define _ACPINS_H
  11. // NS flags
  12. #define NSF_EXIST_OK 0x00010000
  13. #define NSF_EXIST_ERR 0x00020000
  14. // Misc. constants
  15. #define NAMESEG_BLANK 0x5f5f5f5f // "____"
  16. #define NAMESEG_ROOT 0x5f5f5f5c // "\___"
  17. //
  18. // Local function prototypes
  19. //
  20. VOID LOCAL DumpNameSpacePaths(PNSOBJ pnsObj, FILE *pfileOut);
  21. PSZ LOCAL GetObjectPath(PNSOBJ pns);
  22. PSZ LOCAL GetObjectTypeName(DWORD dwObjType);
  23. //
  24. // Exported function prototypes
  25. //
  26. int LOCAL InitNameSpace(VOID);
  27. int LOCAL GetNameSpaceObj(PSZ pszObjPath, PNSOBJ pnsScope, PPNSOBJ ppns,
  28. DWORD dwfNS);
  29. int LOCAL CreateNameSpaceObj(PTOKEN ptoken, PSZ pszName, PNSOBJ pnsScope,
  30. PNSOBJ pnsOwner, PPNSOBJ ppns, DWORD dwfNS);
  31. #endif //ifndef _ACPINS_H