mirror of https://github.com/tongzx/nt5src
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
633 B
27 lines
633 B
// Microsoft OLE library.
|
|
// Copyright (C) 1992 Microsoft Corporation,
|
|
// All rights reserved.
|
|
|
|
// olecoll.h - global defines for collections and element definitions
|
|
|
|
#ifndef __OLECOLL_H__
|
|
#define __OLECOLL_H__
|
|
|
|
|
|
// ---------------------------------------------------------------------------
|
|
// general defines for collections
|
|
|
|
typedef void FAR* POSITION;
|
|
|
|
#define BEFORE_START_POSITION ((POSITION)LongToPtr(-1L))
|
|
#define _AFX_FP_OFF(thing) (*((UINT FAR*)&(thing)))
|
|
#define _AFX_FP_SEG(lp) (*((UINT FAR*)&(lp)+1))
|
|
|
|
#ifdef _DEBUG
|
|
#define ASSERT_VALID(p) p->AssertValid()
|
|
#else
|
|
#define ASSERT_VALID(p)
|
|
#endif
|
|
|
|
|
|
#endif //!__OLECOLL_H__
|