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.

84 lines
1.3 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. #ifdef __cplusplus
  15. extern "C" {
  16. #endif
  17. void
  18. __cdecl
  19. DBGPrintf(
  20. LPTSTR format, ...
  21. );
  22. BOOL
  23. IsDataSourceInstalled(
  24. LPTSTR szDataSource,
  25. unsigned short wConfigMode,
  26. LPTSTR szDbFile,
  27. DWORD cbBufSize
  28. );
  29. BOOL
  30. ConfigDataSource(
  31. HWND hWnd,
  32. BOOL bInstall,
  33. LPTSTR szDriver,
  34. LPTSTR szDsn,
  35. LPTSTR szUser,
  36. LPTSTR szPwd,
  37. LPTSTR szMdbFile
  38. );
  39. BOOL
  40. RepairDataSource(
  41. HWND hWnd,
  42. LPTSTR pszDriver,
  43. LPTSTR pszDsn,
  44. LPTSTR pszUser,
  45. LPTSTR pszPwd,
  46. LPTSTR pszMdbFile
  47. );
  48. BOOL
  49. FileExists(
  50. IN PCTSTR FileName,
  51. OUT PWIN32_FIND_DATA FindData
  52. );
  53. DWORD
  54. GetNT4DbConfig(
  55. LPTSTR pszDsn,
  56. LPTSTR pszUserName,
  57. LPTSTR pszPwd,
  58. LPTSTR pszMdbFile
  59. );
  60. void
  61. CleanLicenseServerSecret();
  62. DWORD
  63. DeleteNT4ODBCDataSource();
  64. DWORD
  65. MigrateLsaSecrets();
  66. #ifdef __cplusplus
  67. }
  68. #endif
  69. #endif