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.

69 lines
1.4 KiB

  1. ///////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 1999, Microsoft Corp. All rights reserved.
  4. //
  5. // FILE
  6. //
  7. // inf2db.h
  8. //
  9. // SYNOPSIS
  10. //
  11. // Header file for inf2db: the main file for that project.
  12. //
  13. //
  14. // MODIFICATION HISTORY
  15. //
  16. // 02/11/1999 Original version.
  17. //
  18. //
  19. //////////////////////////////////////////////////////////////////////
  20. #if !defined(AFX_DATABASE_H__2B7B2F60_C53F_11D2_9E33_00C04F6EA5B6__INCLUDED_)
  21. #define AFX_DATABASE_H__2B7B2F60_C53F_11D2_9E33_00C04F6EA5B6__INCLUDED_
  22. #if _MSC_VER > 1000
  23. #pragma once
  24. #endif // _MSC_VER > 1000
  25. #include "precomp.hpp"
  26. #include "database.h"
  27. #include "simpletableex.h"
  28. #include "command.h"
  29. using namespace std;
  30. namespace
  31. {
  32. bool g_FatalError;
  33. class CLocalBinding
  34. {
  35. public:
  36. WCHAR ColumnName[SIZELINEMAX];
  37. LONG Ordinal;
  38. LONG DBType;
  39. };
  40. }
  41. HRESULT Uninitialize(HINF *phINF, CDatabase& Database);
  42. HRESULT Process(const HINF& hINF, CDatabase& Database);
  43. HRESULT ProcessAllRows(
  44. const HINF& hINF,
  45. CSimpleTableEx& pSimpleTable,
  46. const WCHAR* pTableName
  47. );
  48. HRESULT ProcessOneRow(
  49. HINF inf,
  50. CSimpleTableEx& table,
  51. PCWSTR rowName);
  52. #endif
  53. // !defined(AFX_DATABASE_H__2B7B2F60_C53F_11D2_9E33_00C04F6EA5B6__INCLUDED_)