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.

162 lines
2.6 KiB

  1. //+----------------------------------------------------------------------------
  2. //
  3. // Copyright (C) 1999, Microsoft Corporation
  4. //
  5. // File: misc.hxx
  6. //
  7. // Contents: misc.c prototypes, etc
  8. //
  9. //-----------------------------------------------------------------------------
  10. #ifndef _MISC_HXX
  11. #define _MISC_HXX
  12. DWORD
  13. CmdMupFlags(
  14. ULONG dwFsctrl,
  15. LPWSTR pwszHexValue);
  16. DWORD
  17. CmdMupReadReg(
  18. BOOLEAN fSwDfs);
  19. DWORD
  20. CmdDfsAlt(
  21. LPWSTR pwszServerName);
  22. DWORD
  23. AtoHex(
  24. LPWSTR pwszHexValue,
  25. PDWORD pdwErr);
  26. DWORD
  27. AtoDec(
  28. LPWSTR pwszDecValue,
  29. PDWORD pdwErr);
  30. DWORD
  31. CmdSetDc(
  32. LPWSTR pwszDcName);
  33. DWORD
  34. CmdDcList(
  35. LPWSTR pwszDomainName,
  36. LPWSTR pwszDcName,
  37. PSEC_WINNT_AUTH_IDENTITY pAuthIdent);
  38. DWORD
  39. CmdTrusts(
  40. LPWSTR pwszDomainName,
  41. LPWSTR pwszDcName,
  42. PSEC_WINNT_AUTH_IDENTITY pAuthIdent,
  43. BOOLEAN fListAll);
  44. DWORD
  45. CmdDomList(
  46. LPWSTR pwszDcName,
  47. LPWSTR pwszDomainName,
  48. PSEC_WINNT_AUTH_IDENTITY pAuthIdent);
  49. DWORD
  50. CmdStdList(
  51. LPWSTR pwszDomainName);
  52. DWORD
  53. CmdViewOrVerify(
  54. LPWSTR pwszServerName,
  55. LPWSTR pwszDcName,
  56. LPWSTR pwszDomainName,
  57. PSEC_WINNT_AUTH_IDENTITY pAuthIdent,
  58. LPWSTR pwszHexValue);
  59. DWORD
  60. CmdView(
  61. LPWSTR pwszDomDfsName,
  62. LPWSTR pwszDcName,
  63. PSEC_WINNT_AUTH_IDENTITY pAuthIdent,
  64. LPWSTR pwszHexValue);
  65. DWORD
  66. CmdVerify(
  67. LPWSTR pwszDfsName,
  68. LPWSTR pwszDcName,
  69. PSEC_WINNT_AUTH_IDENTITY pAuthIdent,
  70. LPWSTR pwszHexValue);
  71. DWORD
  72. CmdWhatIs(
  73. LPWSTR pwszServerName);
  74. DWORD
  75. CmdCscOnLine(
  76. LPWSTR pwszServerName);
  77. DWORD
  78. CmdCscOffLine(
  79. LPWSTR pwszServerName);
  80. DWORD
  81. CmdSfp(
  82. LPWSTR pwszServerName,
  83. BOOLEAN fSwOn,
  84. BOOLEAN fSwOff);
  85. DWORD
  86. CmdRegistry(
  87. LPWSTR pwszServerName,
  88. LPWSTR pwszFolderName,
  89. LPWSTR pwszValueName,
  90. LPWSTR pwszHexValue);
  91. DWORD
  92. DfspParseName(
  93. LPWSTR pwszDfsRoot,
  94. LPWSTR *ppwszDfsName,
  95. LPWSTR *ppwszShareName);
  96. DWORD
  97. DfspIsDomainName(
  98. LPWSTR pwszDomainName,
  99. LPWSTR pwszDcName,
  100. PBOOLEAN pIsDomainName);
  101. DWORD
  102. CmdDfsFsctlDfs(
  103. LPWSTR DriverName,
  104. DWORD FsctlCmd);
  105. VOID
  106. ErrorMessage(
  107. IN HRESULT hr,
  108. ...);
  109. DWORD
  110. CmdSetOnSite(
  111. LPWSTR pwszDfsRoot,
  112. LPWSTR pwszDcName,
  113. PSEC_WINNT_AUTH_IDENTITY pAuthIdent,
  114. ULONG pwszHexValue);
  115. DWORD
  116. CmdSiteInfo(
  117. LPWSTR pwszDfsRoot);
  118. DWORD
  119. DfspGetLinkName(
  120. LPWSTR pwszDfsRoot,
  121. LPWSTR *ppwszLinkName);
  122. DWORD
  123. CmdAddRoot(
  124. LPWSTR pwszDomDfsName,
  125. LPWSTR pwszServerName,
  126. LPWSTR pwszShareName,
  127. LPWSTR pwszComment);
  128. DWORD
  129. CmdRemRoot(
  130. LPWSTR pwszDomDfsName,
  131. LPWSTR pwszServerName,
  132. LPWSTR pwszShareName);
  133. #endif _MISC_HXX