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.

72 lines
1.3 KiB

  1. //+----------------------------------------------------------------------------
  2. //
  3. // Copyright (C) 1992, Microsoft Corporation.
  4. //
  5. // File: common.hxx
  6. //
  7. // Contents: This has declarations for common routines for the DFS provider
  8. //
  9. //-----------------------------------------------------------------------------
  10. VOID
  11. DfsOpenDriverHandle();
  12. NTSTATUS
  13. DfsFsctl(
  14. IN ULONG FsControlCode,
  15. IN PVOID InputBuffer OPTIONAL,
  16. IN ULONG InputBufferLength,
  17. OUT PVOID OutputBuffer OPTIONAL,
  18. IN ULONG OutputBufferLength,
  19. OUT PULONG pRequiredLength
  20. );
  21. PWSTR
  22. NewDup(
  23. IN const WCHAR* psz
  24. );
  25. wchar_t*
  26. wcsistr(
  27. const wchar_t* string1,
  28. const wchar_t* string2
  29. );
  30. BOOL
  31. IsDfsPath(
  32. IN LPWSTR lpRemoteName,
  33. IN DWORD dwUseFlags,
  34. OUT LPWSTR* lplpSystemPart
  35. );
  36. BOOL
  37. IsPureServerShare(
  38. IN LPWSTR lpRemoteName);
  39. VOID
  40. StrNCopy(
  41. OUT LPWSTR pszTarget,
  42. IN LPCWSTR pszSource,
  43. IN DWORD cchTarget
  44. );
  45. LPTSTR
  46. PackString(LPVOID pBuf, LPDWORD pcbBufSize, LPCTSTR pszString);
  47. LPTSTR
  48. PackString3(LPVOID pBuf, LPDWORD pcbBufSize, LPCTSTR pszString1, LPCTSTR pszString2, LPCTSTR pszString3);
  49. #ifdef __cplusplus
  50. extern "C" {
  51. #endif
  52. BOOL
  53. IsDfsPathEx(
  54. IN LPWSTR lpRemoteName,
  55. IN DWORD dwUseFlags,
  56. OUT LPWSTR* lplpSystemPart,
  57. BOOL fBypassCSC
  58. );
  59. #ifdef __cplusplus
  60. }
  61. #endif
  62.