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.

80 lines
1.1 KiB

  1. /*++
  2. Copyright (c) 1994 Microsoft Corporation
  3. Module Name:
  4. sparc.h
  5. Abstract:
  6. Header file for functions to deal with ARC paths and variables.
  7. Author:
  8. Ted Miller (tedm) 22-Sep-1993
  9. Revision History:
  10. --*/
  11. #ifndef _SPARC_DEFN_
  12. #define _SPARC_DEFN_
  13. VOID
  14. SpInitializeArcNames(
  15. PVIRTUAL_OEM_SOURCE_DEVICE OemDevices
  16. );
  17. VOID
  18. SpFreeArcNames(
  19. VOID
  20. );
  21. PWSTR
  22. SpArcToNt(
  23. IN PWSTR ArcPath
  24. );
  25. PWSTR
  26. SpNtToArc(
  27. IN PWSTR NtPath,
  28. IN ENUMARCPATHTYPE ArcPathType
  29. );
  30. PWSTR
  31. SpScsiArcToMultiArc(
  32. IN PWSTR ArcPath
  33. );
  34. PWSTR
  35. SpMultiArcToScsiArc(
  36. IN PWSTR ArcPath
  37. );
  38. PWSTR
  39. SpNormalizeArcPath(
  40. IN PWSTR Path
  41. );
  42. VOID
  43. SpGetEnvVarComponents (
  44. IN PCHAR EnvValue,
  45. OUT PCHAR **EnvVarComponents,
  46. OUT PULONG PNumComponents
  47. );
  48. VOID
  49. SpGetEnvVarWComponents(
  50. IN PCHAR EnvValue,
  51. OUT PWSTR **EnvVarComponents,
  52. OUT PULONG PNumComponents
  53. );
  54. VOID
  55. SpFreeEnvVarComponents (
  56. IN PVOID *EnvVarComponents
  57. );
  58. #endif // ndef _SPARC_DEFN_