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.

103 lines
1.8 KiB

  1. #include "shdcom.h"
  2. #include "oslayeru.h"
  3. LPTSTR PUBLIC LpGetServerPart(LPTSTR, LPTSTR, int);
  4. LPTSTR PUBLIC LpGetNextPathElement(LPTSTR, LPTSTR, int);
  5. LPTSTR PUBLIC GetLeafPtr(LPTSTR);
  6. #if 0
  7. BOOL PUBLIC FMatchFile(LPTSTR lpFileName, LPBYTE lpList);
  8. BOOL PUBLIC ExtnMatch(LPTSTR, LPTSTR);
  9. BOOL PUBLIC PrefixMatch(LPTSTR, LPTSTR);
  10. #endif
  11. void DebugPrint(char *szFmt, ...);
  12. LPTSTR
  13. LpBreakPath(
  14. LPTSTR lpszNextPath,
  15. BOOL fFirstTime,
  16. BOOL *lpfDone
  17. );
  18. void
  19. RestorePath(
  20. LPTSTR lpszPtr
  21. );
  22. BOOL
  23. FindCreateShadowFromPath(
  24. LPCTSTR lpszFile,
  25. BOOL fCreate, // create if necessary
  26. LPWIN32_FIND_DATA lpsFind32,
  27. LPSHADOWINFO lpSI,
  28. BOOL *lpfCreated
  29. );
  30. BOOL
  31. IsShareReallyConnected(
  32. LPCTSTR lpszShareName
  33. );
  34. BOOL
  35. AnyActiveNets(
  36. BOOL *lpfSlowLink
  37. );
  38. BOOL
  39. GetWideStringFromRegistryString(
  40. IN LPSTR lpszKeyName, // registry key
  41. IN LPSTR lpszParameter, // registry value name
  42. OUT LPWSTR *lplpwzList, // wide character string
  43. OUT LPDWORD lpdwLength // length in bytes
  44. );
  45. LPTSTR
  46. GetTempFileForCSC(
  47. LPTSTR lpszBuff
  48. );
  49. BOOL
  50. SetRegValueDWORDA(
  51. IN HKEY hKey,
  52. IN LPCSTR lpSubKey,
  53. IN LPCSTR lpValueName,
  54. IN DWORD dwValue
  55. );
  56. BOOL
  57. QueryRegValueDWORDA(
  58. IN HKEY hKey,
  59. IN LPCSTR lpSubKey,
  60. IN LPCSTR lpValueName,
  61. OUT LPDWORD lpdwValue
  62. );
  63. BOOL
  64. DeleteRegValueA(
  65. IN HKEY hKey,
  66. IN LPCSTR lpSubKey,
  67. IN LPCSTR lpValueName
  68. );
  69. BOOL
  70. GetDiskSizeFromPercentage(
  71. LPSTR lpszDir,
  72. unsigned uPercent,
  73. DWORD *lpdwSize,
  74. DWORD *lpdwClusterSize
  75. );
  76. BOOL
  77. InitValues(
  78. LPSTR lpszDBDir,
  79. DWORD cbDBDirSize,
  80. LPDWORD lpdwDBCapacity,
  81. LPDWORD lpdwClusterSize
  82. );
  83. BOOL
  84. QueryFormatDatabase(
  85. VOID
  86. );