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
2.2 KiB

  1. // This is a part of the Microsoft Foundation Classes C++ library.
  2. // Copyright (C) 1992-1998 Microsoft Corporation
  3. // All rights reserved.
  4. //
  5. // This source code is only intended as a supplement to the
  6. // Microsoft Foundation Classes Reference and related
  7. // electronic documentation provided with the library.
  8. // See these sources for detailed information regarding the
  9. // Microsoft Foundation Classes product.
  10. // Do not include this file directly (included by AFXDB.H & AFXDAO.H)
  11. #ifndef __AFXDB__H__
  12. #define __AFXDB__H__
  13. //////////////////////////////////////////////////////////////////////////////
  14. // Recordset Field exchange for ODBC & DAO classes (RFX_ and DFX_)
  15. #define AFX_RFX_SHORT_PSEUDO_NULL (0x7EE4)
  16. #define AFX_RFX_INT_PSEUDO_NULL (0x7EE4)
  17. #define AFX_RFX_LONG_PSEUDO_NULL (0x4a4d4120L)
  18. #define AFX_RFX_BYTE_PSEUDO_NULL 255
  19. #define AFX_RFX_SINGLE_PSEUDO_NULL (-9.123e19f)
  20. #define AFX_RFX_DOUBLE_PSEUDO_NULL (-9.123e19)
  21. #define AFX_RFX_BOOL_PSEUDO_NULL 2
  22. #define AFX_RFX_DATE_PSEUDO_NULL CTime(0)
  23. #define AFX_RFX_TIMESTAMP_PSEUDO_NULL 99
  24. #define AFX_RFX_NO_TYPE 0
  25. #define AFX_RFX_BOOL 1
  26. #define AFX_RFX_BYTE 2
  27. #define AFX_RFX_INT 3
  28. #define AFX_RFX_LONG 4
  29. #define AFX_RFX_SINGLE 6
  30. #define AFX_RFX_DOUBLE 7
  31. #define AFX_RFX_DATE 8
  32. #define AFX_RFX_BINARY 9
  33. #define AFX_RFX_TEXT 10
  34. #define AFX_RFX_LONGBINARY 11
  35. #define AFX_RFX_SHORT 12
  36. #define AFX_RFX_CURRENCY 13
  37. #define AFX_RFX_OLEDATETIME 14
  38. #define AFX_RFX_TIMESTAMP 15
  39. #if _MFC_VER >= 0x0600
  40. #define AFX_RFX_OLEDATE 16
  41. #define AFX_RFX_LPTSTR 17
  42. #endif
  43. //////////////////////////////////////////////////////////////////////////////
  44. // CLongBinary - a Long (generally > 32k in length) Binary object
  45. class CLongBinary : public CObject
  46. {
  47. DECLARE_DYNAMIC(CLongBinary)
  48. // Constructors
  49. public:
  50. CLongBinary();
  51. // Attributes
  52. HGLOBAL m_hData;
  53. DWORD_PTR m_dwDataLength;
  54. // Implementation
  55. public:
  56. virtual ~CLongBinary();
  57. #ifdef _DEBUG
  58. virtual void AssertValid() const;
  59. virtual void Dump(CDumpContext& dc) const;
  60. #endif //_DEBUG
  61. };
  62. //////////////////////////////////////////////////////////////////////////////
  63. #endif // __AFXDB__H__