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.
28 lines
846 B
28 lines
846 B
// 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__
|
|
|
|
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, DWORD mp, UINT nMax, UINT cbElement);
|
|
|
|
INTERNAL_(void) FreeDataChain(DWORD mp); // free this one and links
|
|
};
|
|
|
|
#endif //__PLEX_H__
|