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.

76 lines
1.2 KiB

  1. ///////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) Microsoft Corp. All rights reserved.
  4. //
  5. // FILE
  6. //
  7. // iasdb.h
  8. //
  9. // SYNOPSIS
  10. //
  11. // Declares functions for accessing OLE-DB databases.
  12. //
  13. ///////////////////////////////////////////////////////////////////////////////
  14. #ifndef IASDB_H
  15. #define IASDB_H
  16. #if _MSC_VER >= 1000
  17. #pragma once
  18. #endif
  19. #include <unknwn.h>
  20. typedef struct IRowset IRowset;
  21. #ifdef __cplusplus
  22. extern "C" {
  23. #endif
  24. VOID
  25. WINAPI
  26. IASCreateTmpDirectory();
  27. HRESULT
  28. WINAPI
  29. IASOpenJetDatabase(
  30. IN PCWSTR path,
  31. IN BOOL readOnly,
  32. OUT LPUNKNOWN* session
  33. );
  34. HRESULT
  35. WINAPI
  36. IASExecuteSQLCommand(
  37. IN LPUNKNOWN session,
  38. IN PCWSTR commandText,
  39. OUT IRowset** result
  40. );
  41. HRESULT
  42. WINAPI
  43. IASExecuteSQLFunction(
  44. IN LPUNKNOWN session,
  45. IN PCWSTR functionText,
  46. OUT LONG* result
  47. );
  48. HRESULT
  49. WINAPI
  50. IASCreateJetDatabase(
  51. IN PCWSTR dataSource
  52. );
  53. HRESULT
  54. WINAPI
  55. IASTraceJetError(
  56. PCSTR functionName,
  57. HRESULT errorCode
  58. );
  59. BOOL
  60. WINAPI
  61. IASIsInprocServer();
  62. #ifdef __cplusplus
  63. }
  64. #endif
  65. #endif // IASDB_H