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.

40 lines
1.1 KiB

  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. #define SIG_RSDP 'PDSR'
  18. #define SIG_LOW_RSDP ' DSR'
  19. #define SIG_BOOT 'TOOB'
  20. //
  21. // Local function prototypes
  22. //
  23. VOID LOCAL DumpNameSpacePaths(PNSOBJ pnsObj, FILE *pfileOut);
  24. PSZ LOCAL GetObjectPath(PNSOBJ pns);
  25. PSZ LOCAL GetObjectTypeName(DWORD dwObjType);
  26. //
  27. // Exported function prototypes
  28. //
  29. int LOCAL InitNameSpace(VOID);
  30. int LOCAL GetNameSpaceObj(PSZ pszObjPath, PNSOBJ pnsScope, PPNSOBJ ppns,
  31. DWORD dwfNS);
  32. int LOCAL CreateNameSpaceObj(PTOKEN ptoken, PSZ pszName, PNSOBJ pnsScope,
  33. PNSOBJ pnsOwner, PPNSOBJ ppns, DWORD dwfNS);
  34. #endif //ifndef _ACPINS_H