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.

87 lines
1.2 KiB

  1. /*++
  2. Copyright(c) 1995 Microsoft Corporation
  3. MODULE NAME
  4. misc.h
  5. ABSTRACT
  6. Header file for miscellaneous routines.
  7. AUTHOR
  8. Anthony Discolo (adiscolo) 20-Mar-1995
  9. REVISION HISTORY
  10. Original version from Gurdeep
  11. --*/
  12. #include "radebug.h"
  13. LPTSTR
  14. AddressToUnicodeString(
  15. IN PACD_ADDR pAddr
  16. );
  17. LPTSTR
  18. CompareConnectionLists(
  19. IN LPTSTR *lpPreList,
  20. IN DWORD dwPreSize,
  21. IN LPTSTR *lpPostList,
  22. IN DWORD dwPostSize
  23. );
  24. LPTSTR
  25. CopyString(
  26. IN LPTSTR pszString
  27. );
  28. PCHAR
  29. UnicodeStringToAnsiString(
  30. IN PWCHAR pszUnicode,
  31. OUT PCHAR pszAnsi,
  32. IN USHORT cbAnsi
  33. );
  34. PWCHAR
  35. AnsiStringToUnicodeString(
  36. IN PCHAR pszAnsi,
  37. OUT PWCHAR pszUnicode,
  38. IN USHORT cbUnicode
  39. );
  40. VOID
  41. FreeStringArray(
  42. IN LPTSTR *lpArray,
  43. IN LONG lcEntries
  44. );
  45. LPTSTR
  46. CanonicalizeAddress(
  47. IN LPTSTR pszAddress
  48. );
  49. BOOLEAN
  50. GetOrganization(
  51. IN LPTSTR pszAddr,
  52. OUT LPTSTR pszOrganization
  53. );
  54. /*
  55. VOID
  56. PrepareForLongWait(
  57. VOID
  58. );
  59. */
  60. #if DBG
  61. VOID
  62. DumpHandles(
  63. IN PCHAR lpString,
  64. IN ULONG a1,
  65. IN ULONG a2,
  66. IN ULONG a3,
  67. IN ULONG a4,
  68. IN ULONG a5
  69. );
  70. #endif