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.

114 lines
1.7 KiB

  1. //+--------------------------------------------------------------------------
  2. //
  3. // Copyright (c) 1997-1999 Microsoft Corporation
  4. //
  5. // File: upgdef.h
  6. //
  7. // Contents:
  8. //
  9. // History:
  10. //
  11. //---------------------------------------------------------------------------
  12. #ifndef __TLSUPG4TO5DEF_H__
  13. #define __TLSUPG4TO5DEF_H__
  14. #ifndef LICENOC_SMALL_UPG
  15. #include "JetBlue.h"
  16. #endif
  17. #ifdef __cplusplus
  18. extern "C" {
  19. #endif
  20. void
  21. __cdecl
  22. DBGPrintf(
  23. LPTSTR format, ...
  24. );
  25. BOOL
  26. IsDataSourceInstalled(
  27. LPTSTR szDataSource,
  28. unsigned short wConfigMode,
  29. LPTSTR szDbFile,
  30. DWORD cbBufSize
  31. );
  32. BOOL
  33. ConfigDataSource(
  34. HWND hWnd,
  35. BOOL bInstall,
  36. LPTSTR szDriver,
  37. LPTSTR szDsn,
  38. LPTSTR szUser,
  39. LPTSTR szPwd,
  40. LPTSTR szMdbFile
  41. );
  42. BOOL
  43. RepairDataSource(
  44. HWND hWnd,
  45. LPTSTR pszDriver,
  46. LPTSTR pszDsn,
  47. LPTSTR pszUser,
  48. LPTSTR pszPwd,
  49. LPTSTR pszMdbFile
  50. );
  51. BOOL
  52. FileExists(
  53. IN PCTSTR FileName,
  54. OUT PWIN32_FIND_DATA FindData
  55. );
  56. #ifndef LICENOC_SMALL_UPG
  57. DWORD
  58. JetBlueInitAndCreateEmptyDatabase(
  59. IN LPCTSTR pszDbFilePath,
  60. IN LPCTSTR pszDbFileName,
  61. IN LPCTSTR pszUserName,
  62. IN LPCTSTR pszPassword,
  63. IN JBInstance& jbInstance,
  64. IN JBSession& jbSession,
  65. IN JBDatabase& jbDatabase
  66. );
  67. #endif
  68. DWORD
  69. GetNT4DbConfig(
  70. LPTSTR pszDsn,
  71. LPTSTR pszUserName,
  72. LPTSTR pszPwd,
  73. LPTSTR pszMdbFile
  74. );
  75. #ifndef LICENOC_SMALL_UPG
  76. DWORD
  77. UpgradeNT4Database(
  78. IN DWORD dwServerRole,
  79. IN LPCTSTR pszDbFilePath,
  80. IN LPCTSTR pszDbFileName,
  81. IN BOOL bAlwaysDeleteDataSource
  82. );
  83. #endif
  84. void
  85. CleanLicenseServerSecret();
  86. DWORD
  87. DeleteNT4ODBCDataSource();
  88. #ifdef __cplusplus
  89. }
  90. #endif
  91. #endif