WindowsXP-SP1/com/ole32/olethunk/olethk32/plex.h
2020-09-30 16:53:49 +02:00

31 lines
896 B
C

// This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) 1992 Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and Microsoft
// QuickHelp documentation provided with the library.
// See these sources for detailed information regarding the
// Microsoft Foundation Classes product.
#ifndef __PLEX_H__
#define __PLEX_H__
#define INTERNAL_(x) x
struct FAR CPlex // warning variable length structure
{
CPlex FAR* pNext;
UINT nMax;
UINT nCur;
/* BYTE data[maxNum*elementSize]; */
INTERNAL_(void FAR*) data() { return this+1; }
static INTERNAL_(CPlex FAR*) Create(CPlex FAR* FAR& head, UINT nMax, UINT cbElement);
INTERNAL_(void) FreeDataChain(); // free this one and links
};
#endif //__PLEX_H__