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.

95 lines
1.8 KiB

  1. /*++
  2. Copyright (c) 1991 Microsoft Corporation
  3. Module Name:
  4. rxcanon.h
  5. Abstract:
  6. Contains prototypes for down-level canonicalization function wrappers
  7. RxNetpPathType
  8. RxNetpPathCanonicalize
  9. RxNetpPathCompare
  10. RxNetpNameValidate
  11. RxNetpNameCanonicalize
  12. RxNetpNameCompare
  13. RxNetpListCanonicalize
  14. Author:
  15. Richard L Firth (rfirth) 22-Jan-1992
  16. Revision History:
  17. --*/
  18. NET_API_STATUS
  19. RxNetpPathType(
  20. IN LPTSTR ServerName,
  21. IN LPTSTR PathName,
  22. OUT LPDWORD PathType,
  23. IN DWORD Flags
  24. );
  25. NET_API_STATUS
  26. RxNetpPathCanonicalize(
  27. IN LPTSTR ServerName,
  28. IN LPTSTR PathName,
  29. IN LPTSTR Outbuf,
  30. IN DWORD OutbufLen,
  31. IN LPTSTR Prefix OPTIONAL,
  32. IN OUT LPDWORD PathType,
  33. IN DWORD Flags
  34. );
  35. LONG
  36. RxNetpPathCompare(
  37. IN LPTSTR ServerName,
  38. IN LPTSTR PathName1,
  39. IN LPTSTR PathName2,
  40. IN DWORD PathType,
  41. IN DWORD Flags
  42. );
  43. NET_API_STATUS
  44. RxNetpNameValidate(
  45. IN LPTSTR ServerName,
  46. IN LPTSTR Name,
  47. IN DWORD NameType,
  48. IN DWORD Flags
  49. );
  50. NET_API_STATUS
  51. RxNetpNameCanonicalize(
  52. IN LPTSTR ServerName,
  53. IN LPTSTR Name,
  54. OUT LPTSTR Outbuf,
  55. IN DWORD OutbufLen,
  56. IN DWORD NameType,
  57. IN DWORD Flags
  58. );
  59. LONG
  60. RxNetpNameCompare(
  61. IN LPTSTR ServerName,
  62. IN LPTSTR Name1,
  63. IN LPTSTR Name2,
  64. IN DWORD NameType,
  65. IN DWORD Flags
  66. );
  67. NET_API_STATUS
  68. RxNetpListCanonicalize(
  69. IN LPTSTR ServerName,
  70. IN LPTSTR List,
  71. IN LPTSTR Delimiters,
  72. OUT LPTSTR Outbuf,
  73. IN DWORD OutbufLen,
  74. OUT LPDWORD OutCount,
  75. OUT LPDWORD PathTypes,
  76. IN DWORD PathTypesLen,
  77. IN DWORD Flags
  78. );