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.

27 lines
660 B

  1. // Microsoft OLE library.
  2. // Copyright (C) 1992 Microsoft Corporation,
  3. // All rights reserved.
  4. // olecoll.h - global defines for collections and element definitions
  5. #ifndef __OLECOLL_H__
  6. #define __OLECOLL_H__
  7. // ---------------------------------------------------------------------------
  8. // general defines for collections
  9. typedef void FAR* POSITION;
  10. #define BEFORE_START_POSITION ((POSITION)LongToPtr(-1L))
  11. #define _AFX_FP_OFF(thing) (*((UINT FAR*)&(thing)))
  12. #define _AFX_FP_SEG(lp) (*((UINT FAR*)&(lp)+1))
  13. #ifdef _DEBUG
  14. #define ASSERT_VALID(p) p->AssertValid()
  15. #else
  16. #define ASSERT_VALID(p)
  17. #endif
  18. #endif //!__OLECOLL_H__